class TableDragExampleController
Same name in other branches
- 3.x modules/tabledrag_example/src/Controller/TableDragExampleController.php \Drupal\tabledrag_example\Controller\TableDragExampleController
- 4.0.x modules/tabledrag_example/src/Controller/TableDragExampleController.php \Drupal\tabledrag_example\Controller\TableDragExampleController
Controller for the tabledrag example.
This controller only deals with the description path.
Hierarchy
- class \Drupal\tabledrag_example\Controller\TableDragExampleController extends \Drupal\Core\Controller\ControllerBase uses \Drupal\examples\Utility\DescriptionTemplateTrait
Expanded class hierarchy of TableDragExampleController
File
-
tabledrag_example/
src/ Controller/ TableDragExampleController.php, line 13
Namespace
Drupal\tabledrag_example\ControllerView source
class TableDragExampleController extends ControllerBase {
use DescriptionTemplateTrait;
/**
* {@inheritdoc}
*/
protected function getModuleName() {
return 'tabledrag_example';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
DescriptionTemplateTrait::description | public | function | Generate a render array with our templated content. | ||
DescriptionTemplateTrait::getDescriptionTemplatePath | protected | function | Get full path to the template. | ||
DescriptionTemplateTrait::getDescriptionVariables | protected | function | Variables to act as context to the twig template file. | 1 | |
TableDragExampleController::getModuleName | protected | function | Name of our module. | Overrides DescriptionTemplateTrait::getModuleName |