public ContextAwareVariantInterface::getContexts()
Gets the values for all defined contexts.
Return value
\Drupal\Component\Plugin\Context\ContextInterface[] An array of set contexts, keyed by context name.
File
- core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php, line 16
Class
- ContextAwareVariantInterface
- Provides an interface for variant plugins that are context-aware.
Namespace
Drupal\Core\Display
Code
public function getContexts();
Please login to continue.