You are here

public function MetatagViewsCachePluginManager::getDefinitions in Metatag 8

Gets the definition of all plugins for this type.

Return value

mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.

Overrides DiscoveryInterface::getDefinitions

See also

\Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions()

File

metatag_views/src/MetatagViewsCachePluginManager.php, line 95

Class

MetatagViewsCachePluginManager

Namespace

Drupal\metatag_views

Code

public function getDefinitions() {
  return $this->viewsPluginManager
    ->getDefinitions();
}