public function SettingsContextHandler::__construct in Core Context 8
SettingsContextHandler constructor.
Parameters
\Drupal\ctools\ContextMapperInterface $context_mapper: The context mapper service.
File
- src/
SettingsContextHandler.php, line 31
Class
- SettingsContextHandler
- Exposes contexts stored in an entity's third-party settings.
Namespace
Drupal\core_contextCode
public function __construct(ContextMapperInterface $context_mapper) {
$this->contextMapper = $context_mapper;
}