outside_in_entity_type_build(array &$entity_types)
Implements hook_entity_type_build().
File
- core/modules/outside_in/outside_in.module, line 83
- Allows configuring blocks and other configuration from the site front-end.
Code
function outside_in_entity_type_build(array &$entity_types) { /* @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */ $entity_types['block'] ->setFormClass('offcanvas', BlockEntityOffCanvasForm::class) ->setLinkTemplate('offcanvas-form', '/admin/structure/block/manage/{block}/offcanvas'); }
Please login to continue.