Search for description

  1. Search 3.x for description
  2. Search 7.x-1.x for description
  3. Search 6.x-1.x for description
  4. Search 4.0.x for description
  5. Other projects
Title Object type File name Summary
description.html.twig file form_api_example/templates/description.html.twig {#

Description text for the Form API Example.

#}

{{ attach_library('core/drupal.dialog.ajax') }}
{% set simple_form = path('form_api_example.simple_form') %}
{% set multistep_form = path('form_api_example.multistep_form') %}
{% set input_demo =…
description.html.twig file field_example/templates/description.html.twig {#

Description text for the Field Example.

#}

{% set edit_content_types = path('entity.node_type.collection') %}

{% trans %}

The Field Example provides a field composed of an HTML RGB value, like
#ff00ff. To use it, add the
field to a content type.
description.html.twig file hooks_example/templates/description.html.twig {#

Description text for the Hooks Example.

#}

{% set help_hooks_example = path('help.page', {'name': 'hooks_example'}) %}
{% set node_add_page = path('node.add_page') %}
{% set user_login = path('user.login') %}

{% trans %}

Implementing,…
description.html.twig file ajax_example/templates/description.html.twig {#

Description text for the Ajax Example.

#}

{% set simple_ajax_example = path('ajax_example.simplest') %}
{% set ajax_generate_textfields = path('ajax_example.autotextfields') %}
{% set ajax_submit = path('ajax_example.submit_driven_ajax') %}
{%…
description.html.twig file stream_wrapper_example/templates/description.html.twig Contains the description text of an Example explanation/description page
description.html.twig file field_permission_example/templates/description.html.twig Contains the text of the field_permission_example explanation/description page
description.html.twig file render_example/templates/description.html.twig {#

Description text for the Render API Example.

#}

{% set arrays_url = path('render_example.arrays') %}
{% set alter_url = path('render_example.altering') %}

{% trans %}
What are render arrays?


These are examples of how to construct render arrays.
description.html.twig file phpunit_example/templates/description.html.twig {#

Description text for the PHPUnit Example.

#}

{% trans %}
PHPUnit for Drupal: A very basic how-to.

How to use this example module
You really should be reading the various docblocks in the test files.
description.html.twig file tests/modules/examples_description_test/templates/description.html.twig {*

Description template test example.

This is a test template that demonstrates how an Examples module can
implement its description controller by using a Twig template.

*}



{% trans %}

Sample Description

Here is a sample description. It…
description.html.twig file config_entity_example/templates/description.html.twig {#

Description text for the Config Entity Example.

#}

{% trans %}

The Config Entity Example module defines a Robot entity type. This is a list
of the Robot entities currently in your Drupal site.
description.html.twig file tour_example/templates/description.html.twig {#

Description text for the Tour Example.

Note that we have defined some 'buttons.' These page elements are targets for
the tour we're demonstrating.

The id of the target elements are used in the tour definition file as targets
for the various tour…
description.html.twig file testing_example/templates/description.html.twig {#

Description text for the PHPUnit Example.

#}

{% set sum_in_hands = path('testing_example.sum_in_hands') %}

{% trans %}
Testing Frameworks in Drupal

This module provides a path so we can test it.
The path takes two numeric arguments, and…
description.html.twig file tabledrag_example/templates/description.html.twig Contains the text of the tabledrag_example explanation page
description.html.twig file block_example/templates/description.html.twig {#

Description text for the Block Example.

#}

{% set block_admin_page = url('block.admin_display')['#markup'] %}

{% trans %}

The Block Example provides three sample blocks which demonstrate the various
block APIs. To experiment with the blocks,…
description.html.twig file menu_example/templates/description.html.twig {#

Description text for the Menu Example.

#}

{% set custom_access = path('examples.menu_example.custom_access') %}
{% set permissioned = path('examples.menu_example.permissioned') %}
{% set route_only = path('examples.menu_example.route_only')…
description.html.twig file js_example/templates/description.html.twig {#

Description text for the JavaScript Example.

#}

{% set js_weights = path('js_example.weights') %}
{% set js_accordion = path('js_example.accordion') %}

{% trans %}

Drupal includes jQuery and jQuery UI.
description.html.twig file page_example/templates/description.html.twig Contains the text of the page_example explanation page
description.html.twig file node_type_example/templates/description.html.twig {#

Description text for the Node type Example.

#}


{% set content_type_path = path('entity.node_type.collection') %}
{% set add_types = path ('node.type_add') %}

{% trans %}


Config Node Type Example is a basic example of defining a content type…
description.html.twig file pager_example/templates/description.html.twig Contains the text of the pager_example explanation page
DescriptionTemplateTrait trait src/Utility/DescriptionTemplateTrait.php Trait to implement a "drop-in" template for Example's controllers.
DescriptionTemplateTrait.php file src/Utility/DescriptionTemplateTrait.php
DescriptionTemplateTrait::description function src/Utility/DescriptionTemplateTrait.php Generate a render array with our templated content.
DescriptionTemplateTrait::getDescriptionTemplatePath function src/Utility/DescriptionTemplateTrait.php Get full path to the template.
DescriptionTemplateTrait::getDescriptionVariables function src/Utility/DescriptionTemplateTrait.php Variables to act as context to the twig template file.
DescriptionTemplateTrait::getModuleName function src/Utility/DescriptionTemplateTrait.php Name of our module.
DescriptionTraitTest class tests/src/Kernel/DescriptionTraitTest.php Test of the Description Trait.
DescriptionTraitTest.php file tests/src/Kernel/DescriptionTraitTest.php
DescriptionTraitTest::$modules property tests/src/Kernel/DescriptionTraitTest.php
DescriptionTraitTest::testTemplateFile function tests/src/Kernel/DescriptionTraitTest.php Make sure that the trait finds the template file and renders it.
DisplayInfoInterface::getDisplayDescription function phpunit_example/src/DisplayInfoInterface.php Get displayable description.
ExampleMeatballSandwich::description function plugin_type_example/src/Plugin/Sandwich/ExampleMeatballSandwich.php Provide a description of the sandwich.
examples_description_test.info.yml file tests/modules/examples_description_test/examples_description_test.info.yml tests/modules/examples_description_test/examples_description_test.info.yml
examples_description_test.routing.yml file tests/modules/examples_description_test/examples_description_test.routing.yml tests/modules/examples_description_test/examples_description_test.routing.yml
field-permission-description.css file field_permission_example/css/field-permission-description.css /**
* Field Permssions Example CSS
*/
FieldPermissionExampleController::description function field_permission_example/src/Controller/FieldPermissionExampleController.php A simple controller method to explain what this example is about.
PluginTypeExampleController::description function plugin_type_example/src/Controller/PluginTypeExampleController.php Displays a page with an overview of our plugin type and plugins.
SampleExampleController::getDescriptionVariables function tests/modules/examples_description_test/src/Controller/SampleExampleController.php We override this so we can see some substitutions.
Sandwich::$description property plugin_type_example/src/Annotation/Sandwich.php A brief, human readable, description of the sandwich type.
SandwichBase::description function plugin_type_example/src/SandwichBase.php Provide a description of the sandwich.
SandwichInterface::description function plugin_type_example/src/SandwichInterface.php Provide a description of the sandwich.
SessionStreamWrapper::getDescription function stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php
simpletest.description.html.twig file testing_example/templates/simpletest.description.html.twig {#

Description text for the Simpletest Example.

#}

{% trans %}
Please note that the use of SimpleTest is deprecated. This example module will
be removed in Drupal 9, and new tests should not be written using SimpleTest. In
addition, all existing…
StreamWrapperExampleController::description function stream_wrapper_example/src/Controller/StreamWrapperExampleController.php Description page for the example.
TableDragExampleResetForm::getDescription function tabledrag_example/src/Form/TableDragExampleResetForm.php
TableSortExampleController::description function tablesort_example/src/Controller/TableSortExampleController.php A simple controller method to explain what the tablesort example is about.
TestingExampleController::simpletestDescription function testing_example/src/Controller/TestingExampleController.php Generate a render array for the Simpletest description.