interface OnlyOneAdminToolbarInterface in Allow a content type only once (Only One) 8
Interface OnlyOneAdminToolbarInterface.
Hierarchy
- interface \Drupal\onlyone_admin_toolbar\OnlyOneAdminToolbarInterface
Expanded class hierarchy of OnlyOneAdminToolbarInterface
All classes that implement OnlyOneAdminToolbarInterface
File
- modules/
onlyone_admin_toolbar/ src/ OnlyOneAdminToolbarInterface.php, line 8
Namespace
Drupal\onlyone_admin_toolbarView source
interface OnlyOneAdminToolbarInterface {
/**
* Rebuild the menu to change the menu label in the Admin Toolbar module.
*
* The menu will be rebuilded if the content type is configured to have only
* one node.
*
* @param string $content_type
* The content type machine name.
*/
public function rebuildMenu($content_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OnlyOneAdminToolbarInterface:: |
public | function | Rebuild the menu to change the menu label in the Admin Toolbar module. | 1 |