You are here

content_lock_test.module in Content locking (anti-concurrent editing) 8

Same filename and directory in other branches
  1. 8.2 tests/modules/content_lock_test/content_lock_test.module

File

tests/modules/content_lock_test/content_lock_test.module
View source
<?php

function content_lock_test_entity_type_alter(&$entity_types) {
  $entity_types['entity_test_mul_changed']
    ->setLinkTemplate('compact', '/entity_test_mul_changed/manage/{entity_test_mul_changed}/compact')
    ->setFormClass('compact', 'Drupal\\entity_test\\EntityTestForm');
}