CSS class type, 1 => language string, 2 => optional raw HTML to show instead of language string) */ public function rowBadge( Model $node ) : array|null { return null; } /** * Add elements to the Node form * This method returns all elements that will be added. * By default, all elements will be added in order at the end of the form. * To specify placement within the form, @see FormAbstract::setPosition(). * * @param Model $node * @return array */ public function formElements( Model $node ): array { return []; } /** * Called after the Node form is saved * * @param Model $node * @param array $values * @return void */ public function formPostSave( Model $node, array $values ): void { } }