function VariantCollectionTrait::getVariantConfig

Same name in other branches
  1. 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()
VariantCollectionTrait::getVariants in src/Plugin/VariantCollectionTrait.php
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\Plugin

Code

protected abstract function getVariantConfig();