outside_in_entity_type_build

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');
}
doc_Drupal
2016-10-29 09:32:43
Comments
Leave a Comment

Please login to continue.