protected function ModuleHooksForm::getFormComponentProperties in Module Builder 8.3
Gets the names of properties this form should show.
Return value
string[] An array of property names.
Overrides ComponentSectionForm::getFormComponentProperties
File
- src/
Form/ ModuleHooksForm.php, line 24
Class
- ModuleHooksForm
- Form for selecting hooks.
Namespace
Drupal\module_builder\FormCode
protected function getFormComponentProperties(DataItem $data) {
// Return no properties, so the call to parent::form() doesn't try to
// add the 'hooks' property we set in the entity annotation.
return [];
}