Search for getContexts

  1. Search 7.x for getContexts
  2. Search 9.5.x for getContexts
  3. Search 8.9.x for getContexts
  4. Search 11.x for getContexts
  5. Other projects
Title Object type File name Summary
CacheContextsManagerTest::getContextsFixture function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
ContextAwarePluginInterface::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the defined contexts.
ContextAwarePluginTrait::getContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwareVariantInterface::getContexts function core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php Gets the values for all defined contexts.
NavigationSectionStorage::getContextsDuringPreview function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php Gets contexts for use during preview.
PageDisplayVariantSelectionEvent::getContexts function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Gets the contexts that were set during event dispatch.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.