function ActiveTheme::getOwner

Returns the path to the theme engine for root themes.

Return value

mixed The path to the theme engine for root themes.

See also

\Drupal\Core\Extension\ThemeExtensionList::doList()

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 164

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getOwner() {
  @trigger_error(__METHOD__ . '() is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Theme engines are now tagged services instead of extensions. See https://www.drupal.org/node/3547356', E_USER_DEPRECATED);
  return $this->owner;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.