1 layout_access.inc | LayoutAccess::getRequiredContexts() |
Get a list of all context plugin names required for this access check.
File
- core/
modules/ layout/ plugins/ access/ layout_access.inc, line 122 - Class for loading, modifying, and saving a layout access rule (condition).
Class
- LayoutAccess
- @file Class for loading, modifying, and saving a layout access rule (condition).
Code
function getRequiredContexts() {
$access_info = layout_get_access_info($this->plugin);
return isset($access_info['required contexts']) ? $access_info['required contexts'] : array();
}