You are here

protected function PropertyManagerTrait::getPropertyManager in ThemeKey 8

Gets the ThemeKey Property manager.

Return value

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

File

src/PropertyManagerTrait.php, line 20

Class

PropertyManagerTrait

Namespace

Drupal\themekey

Code

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