alterInfo('action_info'); $this->setCacheBackend($cache_backend, 'action_info'); } /** * Gets the plugin definitions for this entity type. * * @param string $type * The entity type name. * * @return array * An array of plugin definitions for this entity type. */ public function getDefinitionsByType($type) { return array_filter($this->getDefinitions(), function ($definition) use ($type) { return $definition['type'] === $type; }); } }