1 layout.class.inc Layout::isDefault()

Check if this layout is a fallback default layout.

File

core/modules/layout/includes/layout.class.inc, line 989
Class for loading, modifying, and executing a layout.

Class

Layout
@file Class for loading, modifying, and executing a layout.

Code

function isDefault() {
  return in_array($this->name, array('default', 'admin_default'));
}