protected function AddVariantSelectionDelete::getConditions in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/AddVariantSelectionDelete.php \Drupal\page_manager_ui\Form\AddVariantSelectionDelete::getConditions()
Custom logic for retrieving the conditions array from cached_values.
Parameters
$cached_values:
Return value
array
Overrides ConditionDelete::getConditions
File
- page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php, line 42 - Contains \Drupal\page_manager_ui\Form\AddVariantSelectionDelete.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getConditions($cached_values) {
$page_variant = $this
->getPageVariant($cached_values);
return $page_variant
->get('selection_criteria');
}