public function BUEditorEditor::hasToolbarItem in BUEditor 8.2
Same name and namespace in other branches
- 8 src/Entity/BUEditorEditor.php \Drupal\bueditor\Entity\BUEditorEditor::hasToolbarItem()
Checks if an item exists in the toolbar.
File
- src/
Entity/ BUEditorEditor.php, line 107
Class
- BUEditorEditor
- Defines the BUEditor Editor entity.
Namespace
Drupal\bueditor\EntityCode
public function hasToolbarItem($id) {
return in_array($id, $this
->getToolbar(), TRUE);
}