You are here

public function BootstrapjsPopup::attached in Openlayers 7.3

Returns a list of attachments for building the render array.

Return value

array The attachments to add.

Overrides Base::attached

File

src/Plugin/Component/BootstrapjsPopup/BootstrapjsPopup.php, line 23
Component: Bootstap JS Popup.

Class

BootstrapjsPopup
Class BootstrapjsPopup.

Namespace

Drupal\openlayers\Plugin\Component\BootstrapjsPopup

Code

public function attached() {
  $attached = parent::attached();
  $attached['libraries_load'][] = array(
    'bootstrap',
  );
  return $attached;
}