You are here

public function UpdateBase::getTheme in Express 8

Retrieves the theme that provided the update.

Used to determine whether or not the update should apply only to itself (the theme that implemented the plugin) and none of its sub-themes.

Return value

\Drupal\bootstrap\Theme

Overrides UpdateInterface::getTheme

File

themes/contrib/bootstrap/src/Plugin/Update/UpdateBase.php, line 58
Contains \Drupal\bootstrap\Plugin\Update\UpdateBase.

Class

UpdateBase
Base class for an update.

Namespace

Drupal\bootstrap\Plugin\Update

Code

public function getTheme() {
  return Bootstrap::getTheme($this->pluginDefinition['provider']);
}