1 layout_handler.class.inc | LayoutHandler::__construct($plugin_name, array $data = array()) |
File
- core/
modules/ layout/ includes/ layout_handler.class.inc, line 33 - Base classes used by all Layout handlers.
Class
- LayoutHandler
- @file Base classes used by all Layout handlers.
Code
function __construct($plugin_name, array $data = array()) {
// Provide a settings array default for all plugins.
$data += array(
'settings' => array(),
);
$this->plugin = $plugin_name;
$this->settings = $data['settings'];
}