Skip to content

Commit

Permalink
Issue #2901230 followup: Rename the ActiveStore views plugin to Curre…
Browse files Browse the repository at this point in the history
…ntStore.
  • Loading branch information
bojanz committed Aug 10, 2017
1 parent 1303909 commit 2941d08
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -9,14 +9,17 @@
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
* Default argument plugin for the active store.
* Default argument plugin for the current store.
*
* Note: The plugin ID is 'active_store' instead of 'current_store' for
* backwards-compatibility reasons.
*
* @ViewsArgumentDefault(
* id = "active_store",
* title = @Translation("Store ID from active store")
* title = @Translation("Store ID from the current store")
* )
*/
class ActiveStore extends ArgumentDefaultPluginBase implements CacheableDependencyInterface {
class CurrentStore extends ArgumentDefaultPluginBase implements CacheableDependencyInterface {

/**
* The current store.
Expand All @@ -26,7 +29,7 @@ class ActiveStore extends ArgumentDefaultPluginBase implements CacheableDependen
protected $currentStore;

/**
* Constructs a PluginBase object.
* Constructs a new CurrentStore object.
*
* @param array $configuration
* A configuration array containing information about the plugin instance.
Expand Down

0 comments on commit 2941d08

Please sign in to comment.