You are here

TableDragExampleController.php in Examples for Developers 8

File

tabledrag_example/src/Controller/TableDragExampleController.php
View source
<?php

namespace Drupal\tabledrag_example\Controller;

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

/**
 * Controller for the tabledrag example.
 *
 * This controller only deals with the description path.
 */
class TableDragExampleController extends ControllerBase {
  use DescriptionTemplateTrait;

  /**
   * {@inheritdoc}
   */
  protected function getModuleName() {
    return 'tabledrag_example';
  }

}

Classes

Namesort descending Description
TableDragExampleController Controller for the tabledrag example.