public function PageVariant::getStaticContexts in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/PageVariant.php \Drupal\page_manager\Entity\PageVariant::getStaticContexts()
Returns the static context configurations for this page entity.
Return value
array[] An array of static context configurations.
Overrides PageVariantInterface::getStaticContexts
1 call to PageVariant::getStaticContexts()
- PageVariant::getContexts in src/
Entity/ PageVariant.php - Gets the values for all defined contexts.
File
- src/
Entity/ PageVariant.php, line 360
Class
- PageVariant
- Defines the page variant entity.
Namespace
Drupal\page_manager\EntityCode
public function getStaticContexts() {
return $this->static_context;
}