You are here

public function DynamicLayoutSettings::getFrontendLibrary in Dynamic Layouts 8

Set the frontend library.

Overrides DynamicLayoutSettingsInterface::getFrontendLibrary

3 calls to DynamicLayoutSettings::getFrontendLibrary()
DynamicLayoutSettings::getColumnPrefix in src/Entity/DynamicLayoutSettings.php
Get the column prefix.
DynamicLayoutSettings::getFrontendColumnClasses in src/Entity/DynamicLayoutSettings.php
Get the frontend column classes.
DynamicLayoutSettings::getGridColumnCount in src/Entity/DynamicLayoutSettings.php
Get the grid column count.

File

src/Entity/DynamicLayoutSettings.php, line 72

Class

DynamicLayoutSettings
Defines the DynamicLayoutSettings entity.

Namespace

Drupal\dynamic_layouts\Entity

Code

public function getFrontendLibrary() {
  $settings = unserialize($this->settings);
  return isset($settings[Constants::FRONTEND_LIBRARY]) ? $settings[Constants::FRONTEND_LIBRARY] : NULL;
}