You are here

public function DrupalViews::alterToolbarWidget in Advanced Insert View 8

Same name and namespace in other branches
  1. 2.0.x modules/bueditor/src/Plugin/BUEditorPlugin/DrupalViews.php \Drupal\insert_view_adv_bueditor\Plugin\BUEditorPlugin\DrupalViews::alterToolbarWidget()

File

modules/bueditor/src/Plugin/BUEditorPlugin/DrupalViews.php, line 44

Class

DrupalViews
Defines BUEditor Embedded Views plugin.

Namespace

Drupal\insert_view_adv_bueditor\Plugin\BUEditorPlugin

Code

public function alterToolbarWidget(array &$widget) {

  // Make  drupalviews definition available to toolbar widget
  $widget['libraries'][] = 'insert_view_adv_bueditor/drupalviews';
}