Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
fbe287dc
Commit
fbe287dc
authored
May 27, 2016
by
Jess
Browse files
Issue
#2729083
by martin107, jhodgdon: @encode becomes @endcode
(cherry picked from commit
1694030b
)
parent
c28aa40f
Changes
6
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php
View file @
fbe287dc
...
...
@@ -138,7 +138,7 @@ public function __construct($root, $use_file_cache = TRUE, $profile_directories
* To also find test modules, add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @en
d
code
* to your settings.php.
*
* The information is returned in an associative array, keyed by the extension
...
...
core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php
View file @
fbe287dc
...
...
@@ -21,7 +21,7 @@ interface ModuleInstallerInterface {
* To install test modules add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @en
d
code
* to your settings.php.
*
* @param string[] $module_list
...
...
core/modules/simpletest/src/KernelTestBase.php
View file @
fbe287dc
...
...
@@ -497,7 +497,7 @@ protected function installEntitySchema($entity_type_id) {
* To install test modules outside of the testing environment, add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @en
d
code
* to your settings.php.
*
* @param array $modules
...
...
core/modules/simpletest/src/WebTestBase.php
View file @
fbe287dc
...
...
@@ -876,7 +876,7 @@ protected function initKernel(Request $request) {
* To install test modules outside of the testing environment, add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @en
d
code
* to your settings.php.
*
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
...
...
core/modules/views/views.api.php
View file @
fbe287dc
...
...
@@ -833,12 +833,12 @@ function hook_views_pre_render(ViewExecutable $view) {
* primary field will be a nid, you can do something like this:
* @code
* <!--post-FIELD-NID-->
* @encode
* @en
d
code
* And then in the post-render, create an array with the text that should
* go there:
* @code
* strtr($output, array('<!--post-FIELD-1-->' => 'output for FIELD of nid 1');
* @encode
* @en
d
code
* All of the cached result data will be available in $view->result, as well,
* so all ids used in the query should be discoverable.
*
...
...
core/tests/Drupal/KernelTests/KernelTestBase.php
View file @
fbe287dc
...
...
@@ -862,7 +862,7 @@ protected function installEntitySchema($entity_type_id) {
* To install test modules outside of the testing environment, add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @en
d
code
* to your settings.php.
*
* @param string[] $modules
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment