You are here

public function BUEditorToolbarWrapper::has in BUEditor 8.2

Same name and namespace in other branches
  1. 8 src/BUEditorToolbarWrapper.php \Drupal\bueditor\BUEditorToolbarWrapper::has()

Checks the existence of an item.

File

src/BUEditorToolbarWrapper.php, line 53

Class

BUEditorToolbarWrapper
Defines a class that manages BUEditor toolbar data.

Namespace

Drupal\bueditor

Code

public function has($id) {
  return isset($this->assocToolbar[$id]);
}