experimental_module_test.module

Same filename in other branches
  1. 9 core/modules/system/tests/modules/experimental_module_test/experimental_module_test.module
  2. 10 core/modules/system/tests/modules/experimental_module_test/experimental_module_test.module
  3. 11.x core/modules/system/tests/modules/experimental_module_test/experimental_module_test.module

Experimental Test module to test the Core (Experimental) package.

File

core/modules/system/tests/modules/experimental_module_test/experimental_module_test.module

View source
<?php


/**
 * @file
 * Experimental Test module to test the Core (Experimental) package.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function experimental_module_test_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'help.page.experimental_module_test':
            // Make the help text conform to core standards. See
            // \Drupal\system\Tests\Module\InstallUninstallTest::assertHelp().
            return t('The Experimental Test module is not done yet. It may eat your data, but you can read the <a href=":url">online documentation for the Experimental Test module</a>.', [
                ':url' => 'http://www.example.com',
            ]);
    }
}

Functions

Title Deprecated Summary
experimental_module_test_help Implements hook_help().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.