You are here

public function ContextRepositoryInterface::getAvailableContexts in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

1 method overrides ContextRepositoryInterface::getAvailableContexts()
LazyContextRepository::getAvailableContexts in core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
Gets all available contexts for the purposes of configuration.

File

core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php, line 44
Contains \Drupal\Core\Plugin\Context\ContextRepositoryInterface.

Class

ContextRepositoryInterface
Offers a global context repository.

Namespace

Drupal\Core\Plugin\Context

Code

public function getAvailableContexts();