Commit fbe287dc authored by xjm's avatar xjm
Browse files

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 ...@@ -138,7 +138,7 @@ public function __construct($root, $use_file_cache = TRUE, $profile_directories
* To also find test modules, add * To also find test modules, add
* @code * @code
* $settings['extension_discovery_scan_tests'] = TRUE; * $settings['extension_discovery_scan_tests'] = TRUE;
* @encode * @endcode
* to your settings.php. * to your settings.php.
* *
* The information is returned in an associative array, keyed by the extension * The information is returned in an associative array, keyed by the extension
......
...@@ -21,7 +21,7 @@ interface ModuleInstallerInterface { ...@@ -21,7 +21,7 @@ interface ModuleInstallerInterface {
* To install test modules add * To install test modules add
* @code * @code
* $settings['extension_discovery_scan_tests'] = TRUE; * $settings['extension_discovery_scan_tests'] = TRUE;
* @encode * @endcode
* to your settings.php. * to your settings.php.
* *
* @param string[] $module_list * @param string[] $module_list
......
...@@ -497,7 +497,7 @@ protected function installEntitySchema($entity_type_id) { ...@@ -497,7 +497,7 @@ protected function installEntitySchema($entity_type_id) {
* To install test modules outside of the testing environment, add * To install test modules outside of the testing environment, add
* @code * @code
* $settings['extension_discovery_scan_tests'] = TRUE; * $settings['extension_discovery_scan_tests'] = TRUE;
* @encode * @endcode
* to your settings.php. * to your settings.php.
* *
* @param array $modules * @param array $modules
......
...@@ -876,7 +876,7 @@ protected function initKernel(Request $request) { ...@@ -876,7 +876,7 @@ protected function initKernel(Request $request) {
* To install test modules outside of the testing environment, add * To install test modules outside of the testing environment, add
* @code * @code
* $settings['extension_discovery_scan_tests'] = TRUE; * $settings['extension_discovery_scan_tests'] = TRUE;
* @encode * @endcode
* to your settings.php. * to your settings.php.
* *
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
......
...@@ -833,12 +833,12 @@ function hook_views_pre_render(ViewExecutable $view) { ...@@ -833,12 +833,12 @@ function hook_views_pre_render(ViewExecutable $view) {
* primary field will be a nid, you can do something like this: * primary field will be a nid, you can do something like this:
* @code * @code
* <!--post-FIELD-NID--> * <!--post-FIELD-NID-->
* @encode * @endcode
* And then in the post-render, create an array with the text that should * And then in the post-render, create an array with the text that should
* go there: * go there:
* @code * @code
* strtr($output, array('<!--post-FIELD-1-->' => 'output for FIELD of nid 1'); * 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, * All of the cached result data will be available in $view->result, as well,
* so all ids used in the query should be discoverable. * so all ids used in the query should be discoverable.
* *
......
...@@ -862,7 +862,7 @@ protected function installEntitySchema($entity_type_id) { ...@@ -862,7 +862,7 @@ protected function installEntitySchema($entity_type_id) {
* To install test modules outside of the testing environment, add * To install test modules outside of the testing environment, add
* @code * @code
* $settings['extension_discovery_scan_tests'] = TRUE; * $settings['extension_discovery_scan_tests'] = TRUE;
* @encode * @endcode
* to your settings.php. * to your settings.php.
* *
* @param string[] $modules * @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