You are here

public function BootstrapjsAlert::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/BootstrapjsAlert/BootstrapjsAlert.php, line 23
Component: Bootstrap JS.

Class

BootstrapjsAlert
Class BootstrapjsAlert.

Namespace

Drupal\openlayers\Plugin\Component\BootstrapjsAlert

Code

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