public function StaticLayout::getAdminStylesheetFiles

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

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

File

drupal/core/modules/layout/lib/Drupal/layout/Plugin/Layout/StaticLayout.php, line 53
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 getAdminStylesheetFiles() {
  $definition = $this
    ->getPluginDefinition();

  // Fall back on regular CSS for the admin page if admin CSS not provided.
  return isset($definition['admin stylesheets']) ? $definition['admin stylesheets'] : $this
    ->getStylesheetFiles();
}