Karl Kedrovsky
VML
karl.kedrovsky@vml.com
karl@kedrovsky.com
@karlkedrovsky
http://bit.ly/2fDyhUi
Components
Characteristics
/**
* Implements hook_layout_alter().
*/
function remove_default_layouts_layout_alter(&$definitions) {
// Disable default layouts.
unset($definitions['layout_onecol']);
unset($definitions['layout_twocol']);
unset($definitions['layout_twocol_bricks']);
unset($definitions['layout_threecol_25_50_25']);
unset($definitions['layout_threecol_33_34_33']);
}
Components -> Entities/Bricks
Variations -> View Modes
Layout -> Layout API
Atomic Design | Drupal |
---|---|
Atoms | Fields |
Molecule | Entity |
Organism | Bricks |
Templates | Content Type |
Pages | Pages |
Emulsify