1.20.x layout.module layout_page_title(Layout $layout)

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

File

modules/layout/layout.module, line 565
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;
}