You are here

public function StaticLayout::getAdminScriptFiles in Layout 8.2

Returns the list of administrative JS files associated with this layout.

1 call to StaticLayout::getAdminScriptFiles()
StaticLayout::renderLayout in lib/Drupal/layout/Plugin/Layout/StaticLayout.php
Implements Drupal\layout\Plugin\LayoutInterface::renderLayout().

File

lib/Drupal/layout/Plugin/Layout/StaticLayout.php, line 70
Contains \Drupal\layout\Plugin\Layout\StaticLayout.

Class

StaticLayout
Plugin annotation @Plugin( id = "static_layout", derivative = "Drupal\layout\Plugin\Derivative\Layout" )

Namespace

Drupal\layout\Plugin\Layout

Code

public function getAdminScriptFiles() {
  $definition = $this
    ->getPluginDefinition();
  return isset($definition['admin scripts']) ? $definition['admin scripts'] : $this
    ->getScriptFiles();
}