1 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
- core/
modules/ layout/ includes/ layout.class.inc, line 472 - 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);
}