content_lock-8.x-2.1/tests/modules/content_lock_test/content_lock_test.module
tests/modules/content_lock_test/content_lock_test.module
<?php
/**
* @file
* Content lock test: Main functions of the module.
*/
declare(strict_types=1);
use Drupal\Core\Hook\Attribute\LegacyHook;
use Drupal\content_lock_test\Hook\Hooks;
/**
* Implements hook_entity_type_alter().
*/
#[LegacyHook]
function content_lock_test_entity_type_alter(&$entity_types): void {
(new Hooks())->entityTypeAlter($entity_types);
}
