public function BaseContext::populate in Acquia Lift Connector 8.4
Same name and namespace in other branches
- 8.3 src/Service/Context/BaseContext.php \Drupal\acquia_lift\Service\Context\BaseContext::populate()
Populate page by context.
Parameters
&$page: The page that is to be populated.
Overrides ContextInterface::populate
File
- src/
Service/ Context/ BaseContext.php, line 79
Class
Namespace
Drupal\acquia_lift\Service\ContextCode
public function populate(&$page) {
$this
->populateHtmlHead($page['#attached']['html_head']);
$this
->populateCache($page);
}