updated_module.module

Same filename in this branch
  1. 11.x core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.module

Contains global functions for testing updates to a .module file.

File

core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.0.0/updated_module.module

View source
<?php


/**
 * @file
 * Contains global functions for testing updates to a .module file.
 */

/**
 * Page controller that says hello.
 *
 * @return string[]
 *   A renderable array of the page content.
 */
function updated_module_hello() : array {
    return [
        '#markup' => 'Hello!',
    ];
}

Functions

Title Deprecated Summary
updated_module_hello Page controller that says hello.

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