1 layout.module layout_page_title(Layout $layout)

Menu title callback; Return the title for editing a layout.

File

core/modules/layout/layout.module, line 679
The Layout module creates pages and wraps existing pages in layouts.

Code

function layout_page_title(Layout $layout) {
  // Page titles are run through check_plain() before output, so no escaping
  // here is intentional. See backdrop_get_title().
  return $layout->title;
}