protected function AddVariantSelectionDelete::getPageVariant in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/AddVariantSelectionDelete.php \Drupal\page_manager_ui\Form\AddVariantSelectionDelete::getPageVariant()
Get the page variant.
Parameters
array $cached_values: The cached values from the wizard.
Return value
\Drupal\page_manager\PageVariantInterface
4 calls to AddVariantSelectionDelete::getPageVariant()
- AddVariantSelectionDelete::getConditions in page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php - Custom logic for retrieving the conditions array from cached_values.
- AddVariantSelectionDelete::getContexts in page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php - Custom logic for retrieving the contexts array from cached_values.
- AddVariantSelectionDelete::getParentRouteInfo in page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php - Document the route name and parameters for redirect after submission.
- AddVariantSelectionDelete::setConditions in page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php - Custom logic for setting the conditions array in cached_values.
File
- page_manager_ui/
src/ Form/ AddVariantSelectionDelete.php, line 17
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getPageVariant($cached_values) {
return $cached_values['page_variant'];
}