You are here

plugin_test.module in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/system/tests/modules/plugin_test/plugin_test.module

Helper module for the plugin tests.

File

core/modules/system/tests/modules/plugin_test/plugin_test.module
View source
<?php

/**
 * @file
 * Helper module for the plugin tests.
 */

/**
 * Implements hook_plugin_test_alter().
 */
function plugin_test_plugin_test_alter(&$definitions) {
  foreach ($definitions as &$definition) {
    $definition['altered'] = TRUE;
  }
  $definitions['user_login']['altered_single'] = TRUE;
}

Functions

Namesort descending Description
plugin_test_plugin_test_alter Implements hook_plugin_test_alter().