X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FWorkflowTypeManager.php;h=60dfa7b7be647e486c7472f36b6c495f6d87c6de;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=b2eafa863bdd70878253ad6fc6d21f28b8f91e44;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/workflows/src/WorkflowTypeManager.php b/web/core/modules/workflows/src/WorkflowTypeManager.php index b2eafa863..60dfa7b7b 100644 --- a/web/core/modules/workflows/src/WorkflowTypeManager.php +++ b/web/core/modules/workflows/src/WorkflowTypeManager.php @@ -13,10 +13,6 @@ use Drupal\workflows\Annotation\WorkflowType; * @see \Drupal\workflows\Annotation\WorkflowType * @see \Drupal\workflows\WorkflowTypeInterface * @see plugin_api - * - * @internal - * The workflow system is currently experimental and should only be leveraged - * by experimental modules and development releases of contributed modules. */ class WorkflowTypeManager extends DefaultPluginManager { @@ -34,7 +30,7 @@ class WorkflowTypeManager extends DefaultPluginManager { public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) { parent::__construct('Plugin/WorkflowType', $namespaces, $module_handler, WorkflowTypeInterface::class, WorkflowType::class); $this->alterInfo('workflow_type_info'); - $this->setCacheBackend($cache_backend, 'workflow_type_info'); + $this->setCacheBackend($cache_backend, 'workflow_type_info', ['workflow_type_plugins']); } }