File tree 1 file changed +7
-4
lines changed
modules/store/src/Plugin/views/argument_default
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 9
9
use Symfony \Component \DependencyInjection \ContainerInterface ;
10
10
11
11
/**
12
- * Default argument plugin for the active store.
12
+ * Default argument plugin for the current store.
13
+ *
14
+ * Note: The plugin ID is 'active_store' instead of 'current_store' for
15
+ * backwards-compatibility reasons.
13
16
*
14
17
* @ViewsArgumentDefault(
15
18
* id = "active_store",
16
- * title = @Translation("Store ID from active store")
19
+ * title = @Translation("Store ID from the current store")
17
20
* )
18
21
*/
19
- class ActiveStore extends ArgumentDefaultPluginBase implements CacheableDependencyInterface {
22
+ class CurrentStore extends ArgumentDefaultPluginBase implements CacheableDependencyInterface {
20
23
21
24
/**
22
25
* The current store.
@@ -26,7 +29,7 @@ class ActiveStore extends ArgumentDefaultPluginBase implements CacheableDependen
26
29
protected $ currentStore ;
27
30
28
31
/**
29
- * Constructs a PluginBase object.
32
+ * Constructs a new CurrentStore object.
30
33
*
31
34
* @param array $configuration
32
35
* A configuration array containing information about the plugin instance.
You can’t perform that action at this time.
0 commit comments