You are here

public function BaseContext::populate in Acquia Lift Connector 8.4

Same name and namespace in other branches
  1. 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

BaseContext

Namespace

Drupal\acquia_lift\Service\Context

Code

public function populate(&$page) {
  $this
    ->populateHtmlHead($page['#attached']['html_head']);
  $this
    ->populateCache($page);
}