You are here

protected function PropertyAdminManagerTrait::getPropertyAdminManager in ThemeKey 8

Gets the ThemeKey Property manager.

Return value

\Drupal\Component\Plugin\PluginManagerInterface The ThemeKey Property Admin manager.

File

src/PropertyAdminManagerTrait.php, line 20

Class

PropertyAdminManagerTrait

Namespace

Drupal\themekey

Code

protected function getPropertyAdminManager() {
  if (!$this->propertyAdminManager) {
    $this->propertyAdminManager = \Drupal::service('plugin.manager.themekey.property_admin');
  }
  return $this->propertyAdminManager;
}