protected function PageAccessForm::getConditions in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/PageAccessForm.php \Drupal\page_manager_ui\Form\PageAccessForm::getConditions()
Custom logic for retrieving the conditions array from cached_values.
Parameters
$cached_values:
Return value
array
Overrides ManageConditions::getConditions
File
- page_manager_ui/
src/ Form/ PageAccessForm.php, line 46 - Contains \Drupal\page_manager_ui\Form\PageAccessForm.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getConditions($cached_values) {
/** @var $page \Drupal\page_manager\Entity\Page */
$page = $cached_values['page'];
return $page
->get('access_conditions');
}