1 layout_context.inc | public LayoutStringContext::getAdminSummary($path = NULL) |
Return a summary for this context.
Overrides LayoutContext::getAdminSummary
File
- core/
modules/ layout/ plugins/ context/ layout_context.inc, line 408 - Class that holds information relating to a layout's context.
Class
- LayoutStringContext
- Pass-through context used when an unknown argument is encountered.
Code
public function getAdminSummary($path = NULL) {
$argument_parts = explode('/', $path);
$argument_parts[$this->position] = '<strong>' . $argument_parts[$this->position] . '</strong>';
return t('Position @index:', array('@index' => $this->position + 1)) . ' ' . implode('/', $argument_parts);
}