Add function AdminPlugin::getFormFieldTypes()

This commit is contained in:
Matias Griese
2016-02-29 14:21:59 +02:00
parent b713906d6f
commit 46c770ffe7

View File

@@ -514,6 +514,35 @@ class AdminPlugin extends Plugin
exit;
}
/**
* Get list of form field types specified in this plugin. Only special types needs to be listed.
*
* @return array
*/
public function getFormFieldTypes()
{
return [
'column' => [
'form_field' => false
],
'columns' => [
'form_field' => false
],
'fieldset' => [
'form_field' => false
],
'section' => [
'form_field' => false
],
'tab' => [
'form_field' => false
],
'tabs' => [
'form_field' => false
]
];
}
/**
* Initialize the admin.
*