1.20.x layout.class.inc protected Layout::invokeHook($hook)

Invokes a hook on behalf of the layout.

Parameters

$hook: One of 'insert', 'update', 'enable', 'disable', 'revert', or 'delete'.

File

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

Class

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

Code

protected function invokeHook($hook) {
  module_invoke_all('layout_' . $hook, $this);
}