function ContextRepositoryInterface::getAvailableContexts
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php \Drupal\Core\Plugin\Context\ContextRepositoryInterface::getAvailableContexts()
- 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php \Drupal\Core\Plugin\Context\ContextRepositoryInterface::getAvailableContexts()
- 11.x core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php \Drupal\Core\Plugin\Context\ContextRepositoryInterface::getAvailableContexts()
Gets all available contexts for the purposes of configuration.
Return value
\Drupal\Core\Plugin\Context\ContextInterface[] All available contexts.
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextRepositoryInterface.php, line 39
Class
- ContextRepositoryInterface
- Offers a global context repository.
Namespace
Drupal\Core\Plugin\ContextCode
public function getAvailableContexts();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.