RestExampleHelpController.php

Same filename in other branches
  1. 4.0.x modules/rest_example/src/Controller/RestExampleHelpController.php

Namespace

Drupal\rest_example\Controller

File

modules/rest_example/src/Controller/RestExampleHelpController.php

View source
<?php

namespace Drupal\rest_example\Controller;

use Drupal\Core\Controller\ControllerBase;
use Drupal\examples\Utility\DescriptionTemplateTrait;

/**
 * Provides a help page for the REST Examples module.
 *
 * @ingroup rest_example
 */
class RestExampleHelpController extends ControllerBase {
    use DescriptionTemplateTrait;
    
    /**
     * {@inheritdoc}
     */
    protected function getModuleName() {
        return 'rest_example';
    }

}

Classes

Title Deprecated Summary
RestExampleHelpController Provides a help page for the REST Examples module.