function VariantCollectionTrait::getVariantConfig
Same name in other branches
- 8.x-3.x src/Plugin/VariantCollectionTrait.php \Drupal\ctools\Plugin\VariantCollectionTrait::getVariantConfig()
Returns the configuration for stored variants.
Return value
array An array of variant configuration, keyed by the unique variant ID.
1 call to VariantCollectionTrait::getVariantConfig()
1 method overrides VariantCollectionTrait::getVariantConfig()
- TestVariantCollectionTrait::getVariantConfig in tests/
src/ Unit/ VariantCollectionTraitTest.php - Returns the configuration for stored variants.
File
-
src/
Plugin/ VariantCollectionTrait.php, line 58
Class
- VariantCollectionTrait
- Provides methods for VariantCollectionInterface.
Namespace
Drupal\ctools\PluginCode
protected abstract function getVariantConfig();