You are here

public function StaticLayout::getStylesheetFiles in Layout 8.2

Returns the list of CSS files associated with this layout.

2 calls to StaticLayout::getStylesheetFiles()
StaticLayout::getAdminStylesheetFiles in lib/Drupal/layout/Plugin/Layout/StaticLayout.php
Returns the list of administrative CSS files associated with this layout.
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 45
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 getStylesheetFiles() {
  $definition = $this
    ->getPluginDefinition();
  return isset($definition['stylesheets']) ? $definition['stylesheets'] : array();
}