Commit fbe287dc authored by xjm's avatar xjm

Issue #2729083 by martin107, jhodgdon: @encode becomes @endcode

(cherry picked from commit 1694030b)
parent c28aa40f
......@@ -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
* @endcode
* to your settings.php.
*
* The information is returned in an associative array, keyed by the extension
......
......@@ -21,7 +21,7 @@ interface ModuleInstallerInterface {
* To install test modules add
* @code
* $settings['extension_discovery_scan_tests'] = TRUE;
* @encode
* @endcode
* to your settings.php.
*
* @param string[] $module_list
......
......@@ -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
* @endcode
* to your settings.php.
*
* @param array $modules
......
......@@ -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
* @endcode
* to your settings.php.
*
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
......
......@@ -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
* @endcode
* 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
* @endcode
* All of the cached result data will be available in $view->result, as well,
* so all ids used in the query should be discoverable.
*
......
......@@ -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
* @endcode
* to your settings.php.
*
* @param string[] $modules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment