function hook_default_admin_content_form_ignore_form_ids
Same name and namespace in other branches
- main core/themes/default_admin/default_admin.api.php \hook_default_admin_content_form_ignore_form_ids()
Register form IDs that should not use the content form.
Return value
string[] The list of form IDs.
Related topics
1 invocation of hook_default_admin_content_form_ignore_form_ids()
- Helper::isContentForm in core/
themes/ default_admin/ src/ Helper.php - Check if we´re on a content edit form.
File
-
core/
themes/ default_admin/ default_admin.api.php, line 59
Code
function hook_default_admin_content_form_ignore_form_ids() : array {
return [
'media_library_add_form_',
'views_form_media_library_widget_',
'views_exposed_form',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.