protected function PageVariant::getContextMapper in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/PageVariant.php \Drupal\page_manager\Entity\PageVariant::getContextMapper()
Wraps the context mapper.
Return value
\Drupal\page_manager\ContextMapperInterface The context mapper service.
File
- src/
Entity/ PageVariant.php, line 443
Class
- PageVariant
- Defines the page variant entity.
Namespace
Drupal\page_manager\EntityCode
protected function getContextMapper() {
return \Drupal::service('page_manager.context_mapper');
}