ContextAwareVariantInterface::getContexts

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();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.