You are here

public function LayoutBase::getLibrary in Layout Plugin (obsolete, use core's Layout Discovery) 8

Get the asset library.

Return value

string|NULL The asset library.

1 call to LayoutBase::getLibrary()
LayoutBase::build in src/Plugin/Layout/LayoutBase.php
Build a render array for layout with regions.

File

src/Plugin/Layout/LayoutBase.php, line 101

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function getLibrary() {
  return isset($this->pluginDefinition['library']) ? $this->pluginDefinition['library'] : NULL;
}