public function LanguageInterfaceContext::__construct in Page Manager 8.4
Creates LanguageInterfaceContext object.
Parameters
\Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository: The context repository service.
File
- src/
EventSubscriber/ LanguageInterfaceContext.php, line 28
Class
- LanguageInterfaceContext
- Sets the current language_interface as a context.
Namespace
Drupal\page_manager\EventSubscriberCode
public function __construct(ContextRepositoryInterface $context_repository) {
$this->contextRepository = $context_repository;
}