Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
300
Merge Requests
300
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
5ba91c71
Commit
5ba91c71
authored
Oct 16, 2013
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2105555
by Bladedu: Plugins cache prefix names not consistent between plugin managers.
parent
7c219bbf
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
16 additions
and
16 deletions
+16
-16
core/lib/Drupal/Core/Archiver/ArchiverManager.php
core/lib/Drupal/Core/Archiver/ArchiverManager.php
+1
-1
core/lib/Drupal/Core/Condition/ConditionManager.php
core/lib/Drupal/Core/Condition/ConditionManager.php
+1
-1
core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php
core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php
+1
-1
core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php
core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php
+1
-1
core/lib/Drupal/Core/Menu/LocalTaskManager.php
core/lib/Drupal/Core/Menu/LocalTaskManager.php
+1
-1
core/lib/Drupal/Core/TypedData/TypedDataManager.php
core/lib/Drupal/Core/TypedData/TypedDataManager.php
+1
-1
core/lib/Drupal/Core/Validation/ConstraintManager.php
core/lib/Drupal/Core/Validation/ConstraintManager.php
+1
-1
core/modules/aggregator/lib/Drupal/aggregator/Plugin/AggregatorPluginManager.php
.../lib/Drupal/aggregator/Plugin/AggregatorPluginManager.php
+1
-1
core/modules/ckeditor/lib/Drupal/ckeditor/CKEditorPluginManager.php
...es/ckeditor/lib/Drupal/ckeditor/CKEditorPluginManager.php
+1
-1
core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php
...modules/editor/lib/Drupal/editor/Plugin/EditorManager.php
+1
-1
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/Type/SelectionPluginManager.php
...l/entity_reference/Plugin/Type/SelectionPluginManager.php
+1
-1
core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php
...al/field/Plugin/Type/Formatter/FormatterPluginManager.php
+1
-1
core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php
...b/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php
+1
-1
core/modules/image/lib/Drupal/image/ImageEffectManager.php
core/modules/image/lib/Drupal/image/ImageEffectManager.php
+1
-1
core/modules/tour/lib/Drupal/tour/TipPluginManager.php
core/modules/tour/lib/Drupal/tour/TipPluginManager.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/ViewsPluginManager.php
...ules/views/lib/Drupal/views/Plugin/ViewsPluginManager.php
+1
-1
No files found.
core/lib/Drupal/Core/Archiver/ArchiverManager.php
View file @
5ba91c71
...
...
@@ -33,7 +33,7 @@ class ArchiverManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
'Plugin/Archiver'
,
$namespaces
);
$this
->
alterInfo
(
$module_handler
,
'archiver_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'archiver_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'archiver_info
_plugins
'
);
}
/**
...
...
core/lib/Drupal/Core/Condition/ConditionManager.php
View file @
5ba91c71
...
...
@@ -34,7 +34,7 @@ class ConditionManager extends DefaultPluginManager implements ExecutableManager
*/
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
$this
->
alterInfo
(
$module_handler
,
'condition_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'condition'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'condition
_plugins
'
);
parent
::
__construct
(
'Plugin/Condition'
,
$namespaces
,
'Drupal\Core\Condition\Annotation\Condition'
);
}
...
...
core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php
View file @
5ba91c71
...
...
@@ -43,7 +43,7 @@ class FieldTypePluginManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
'Plugin/field/field_type'
,
$namespaces
,
'Drupal\Core\Entity\Annotation\FieldType'
);
$this
->
alterInfo
(
$module_handler
,
'field_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_types'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_types
_plugins
'
);
// @todo Remove once all core field types have been converted (see
// http://drupal.org/node/2014671).
...
...
core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php
View file @
5ba91c71
...
...
@@ -40,7 +40,7 @@ class ImageToolkitManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ConfigFactory
$config_factory
)
{
parent
::
__construct
(
'Plugin/ImageToolkit'
,
$namespaces
,
'Drupal\Core\ImageToolkit\Annotation\ImageToolkit'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'image_toolkit'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'image_toolkit
_plugins
'
);
$this
->
configFactory
=
$config_factory
;
}
...
...
core/lib/Drupal/Core/Menu/LocalTaskManager.php
View file @
5ba91c71
...
...
@@ -115,7 +115,7 @@ public function __construct(ControllerResolverInterface $controller_resolver, Re
$this
->
routeProvider
=
$route_provider
;
$this
->
accessManager
=
$access_manager
;
$this
->
alterInfo
(
$module_handler
,
'local_tasks'
);
$this
->
setCacheBackend
(
$cache
,
$language_manager
,
'local_task'
,
array
(
'local_task'
=>
TRUE
));
$this
->
setCacheBackend
(
$cache
,
$language_manager
,
'local_task
_plugins
'
,
array
(
'local_task'
=>
TRUE
));
}
/**
...
...
core/lib/Drupal/Core/TypedData/TypedDataManager.php
View file @
5ba91c71
...
...
@@ -46,7 +46,7 @@ class TypedDataManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
$this
->
alterInfo
(
$module_handler
,
'data_type_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'typed_data
:type
s'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'typed_data
_types_plugin
s'
);
parent
::
__construct
(
'Plugin/DataType'
,
$namespaces
,
'Drupal\Core\TypedData\Annotation\DataType'
);
}
...
...
core/lib/Drupal/Core/Validation/ConstraintManager.php
View file @
5ba91c71
...
...
@@ -50,7 +50,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
parent
::
__construct
(
'Plugin/Validation/Constraint'
,
$namespaces
);
$this
->
discovery
=
new
StaticDiscoveryDecorator
(
$this
->
discovery
,
array
(
$this
,
'registerDefinitions'
));
$this
->
alterInfo
(
$module_handler
,
'validation_constraint'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'validation_constraint'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'validation_constraint
_plugins
'
);
}
/**
...
...
core/modules/aggregator/lib/Drupal/aggregator/Plugin/AggregatorPluginManager.php
View file @
5ba91c71
...
...
@@ -37,7 +37,7 @@ public function __construct($type, \Traversable $namespaces, CacheBackendInterfa
);
parent
::
__construct
(
"Plugin/aggregator/
$type
"
,
$namespaces
,
$type_annotations
[
$type
]);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
"aggregator_
$type
"
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'aggregator_'
.
$type
.
'_plugins'
);
}
}
core/modules/ckeditor/lib/Drupal/ckeditor/CKEditorPluginManager.php
View file @
5ba91c71
...
...
@@ -35,7 +35,7 @@ class CKEditorPluginManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
'Plugin/CKEditorPlugin'
,
$namespaces
,
'Drupal\ckeditor\Annotation\CKEditorPlugin'
);
$this
->
alterInfo
(
$module_handler
,
'ckeditor_plugin_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'ckeditor_plugin'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'ckeditor_plugin
s
'
);
}
/**
...
...
core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php
View file @
5ba91c71
...
...
@@ -33,7 +33,7 @@ class EditorManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
LanguageManager
$language_manager
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
'Plugin/Editor'
,
$namespaces
,
'Drupal\editor\Annotation\Editor'
);
$this
->
alterInfo
(
$module_handler
,
'editor_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'editor'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'editor
_plugins
'
);
}
/**
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/Type/SelectionPluginManager.php
View file @
5ba91c71
...
...
@@ -34,7 +34,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
$this
->
factory
=
new
ReflectionFactory
(
$this
);
$this
->
alterInfo
(
$module_handler
,
'entity_reference_selection'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'entity_reference_selection'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'entity_reference_selection
_plugins
'
);
}
/**
...
...
core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php
View file @
5ba91c71
...
...
@@ -52,7 +52,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
parent
::
__construct
(
'Plugin/field/formatter'
,
$namespaces
,
'Drupal\field\Annotation\FieldFormatter'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_formatter_types'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_formatter_types
_plugins
'
);
$this
->
alterInfo
(
$module_handler
,
'field_formatter_info'
);
$this
->
fieldTypeManager
=
$field_type_manager
;
}
...
...
core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php
View file @
5ba91c71
...
...
@@ -51,7 +51,7 @@ class WidgetPluginManager extends DefaultPluginManager {
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
ModuleHandlerInterface
$module_handler
,
LanguageManager
$language_manager
,
FieldTypePluginManager
$field_type_manager
)
{
parent
::
__construct
(
'Plugin/field/widget'
,
$namespaces
,
'Drupal\field\Annotation\FieldWidget'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_widget_types'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'field_widget_types
_plugins
'
);
$this
->
alterInfo
(
$module_handler
,
'field_widget_info'
);
$this
->
factory
=
new
WidgetFactory
(
$this
);
...
...
core/modules/image/lib/Drupal/image/ImageEffectManager.php
View file @
5ba91c71
...
...
@@ -24,7 +24,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
parent
::
__construct
(
'Plugin/ImageEffect'
,
$namespaces
,
'Drupal\image\Annotation\ImageEffect'
);
$this
->
alterInfo
(
$module_handler
,
'image_effect_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'image_effect'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'image_effect
_plugins
'
);
}
}
core/modules/tour/lib/Drupal/tour/TipPluginManager.php
View file @
5ba91c71
...
...
@@ -34,7 +34,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
parent
::
__construct
(
'Plugin/tour/tip'
,
$namespaces
,
'Drupal\tour\Annotation\Tip'
);
$this
->
alterInfo
(
$module_handler
,
'tour_tips_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'tour'
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'tour
_plugins
'
);
}
}
core/modules/views/lib/Drupal/views/Plugin/ViewsPluginManager.php
View file @
5ba91c71
...
...
@@ -44,7 +44,7 @@ public function __construct($type, \Traversable $namespaces, CacheBackendInterfa
);
$this
->
alterInfo
(
$module_handler
,
'views_plugins_'
.
$type
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'views
:'
.
$type
);
$this
->
setCacheBackend
(
$cache_backend
,
$language_manager
,
'views
_'
.
$type
.
'_plugins'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment