public function Page::getParameters in Page Manager 8
Same name and namespace in other branches
- 8.4 src/Entity/Page.php \Drupal\page_manager\Entity\Page::getParameters()
Returns the parameter context value objects for this page entity.
Return value
array[] An array of parameter context arrays, keyed by parameter name.
Overrides PageInterface::getParameters
1 call to Page::getParameters()
- Page::getContexts in src/
Entity/ Page.php - Gets the values for all defined contexts.
File
- src/
Entity/ Page.php, line 243 - Contains \Drupal\page_manager\Entity\Page.
Class
- Page
- Defines a Page entity class.
Namespace
Drupal\page_manager\EntityCode
public function getParameters() {
$names = $this
->getParameterNames();
if ($names) {
return array_intersect_key($this->parameters, array_flip($names));
}
return [];
}