1 front_layout_access.inc | FrontLayoutAccess::summary() |
Provides a human-readable summary of this access check's behavior.
Parameters
$contexts: An array containing available contexts.
Return value
string: The sanitized HTML summary string for this access check.
Overrides LayoutAccess::summary
File
- core/
modules/ layout/ plugins/ access/ front_layout_access.inc, line 39 - Class for loading, modifying, and saving a layout access rule (condition).
Class
- FrontLayoutAccess
- @file Class for loading, modifying, and saving a layout access rule (condition).
Code
function summary() {
return $this->settings['negate'] ? t('Is not the home page') : t('Is the home page');
}