Verified Commit d191c5b6 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3503756 by quietone, smustgrave: Remove inline usages of @code/@endcode

parent efc9e257
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -67,10 +67,10 @@
 * during the same request.
 *
 * One example of the simplest connection array is shown below. To use the
 * sample settings, copy and uncomment the code below between the @code and
 * @endcode lines and paste it after the $databases declaration. You will need
 * to replace the database username and password and possibly the host and port
 * with the appropriate credentials for your database system.
 * sample settings, copy and uncomment the code below and paste it after the
 * $databases declaration. You will need to replace the database username and
 * password and possibly the host and port with the appropriate credentials for
 * your database system.
 *
 * The next section describes how to customize the $databases array for more
 * specific needs.
+2 −3
Original line number Diff line number Diff line
@@ -2614,9 +2614,8 @@ function hook_validation_constraint_alter(array &$definitions) {
 * Making the expensive service lazy means that the class is only dependent on
 * the proxy service, and not on all the dependencies of the lazy service.
 *
 * To define a service as lazy, add @code lazy: true @endcode to the service
 * definition, and use the @code core/scripts/generate-proxy.sh @endcode script
 * to generate the proxy class.
 * To define a service as lazy, add "lazy: true" to the service definition, and
 * use the "core/scripts/generate-proxy.sh" script to generate the proxy class.
 *
 * @see core/scripts/generate-proxy.sh
 */
+4 −6
Original line number Diff line number Diff line
@@ -404,16 +404,14 @@ public static function lock() {
   * Retrieves a configuration object.
   *
   * This is the main entry point to the configuration API. Calling
   * @code \Drupal::config('my_module.admin') @endcode will return a
   * configuration object the my_module module can use to read its
   * administrative settings.
   * \Drupal::config('my_module.admin') will return a configuration object the
   * my_module module can use to read its administrative settings.
   *
   * @param string $name
   *   The name of the configuration object to retrieve, which typically
   *   corresponds to a configuration file. For
   *   @code \Drupal::config('my_module.admin') @endcode, the configuration
   *   object returned will contain the content of the my_module.admin
   *   configuration file.
   *   \Drupal::config('my_module.admin'), the configuration object returned
   *   will contain the content of the my_module.admin configuration file.
   *
   * @return \Drupal\Core\Config\ImmutableConfig
   *   An immutable configuration object.
+2 −3
Original line number Diff line number Diff line
@@ -156,9 +156,8 @@ public static function filterQueryParameters(array $query, array $exclude = [],
  /**
   * Parses a URL string into its path, query, and fragment components.
   *
   * This function splits both internal paths like @code node?b=c#d @endcode and
   * external URLs like @code https://example.com/a?b=c#d @endcode into their
   * component parts. See
   * This function splits both internal paths like "node?b=c#d" and external
   * URLs like "https://example.com/a?b=c#d" into their component parts. See
   * @link http://tools.ietf.org/html/rfc3986#section-3 RFC 3986 @endlink for an
   * explanation of what the component parts are.
   *
+4 −4
Original line number Diff line number Diff line
@@ -147,13 +147,13 @@ protected function cache($bin = 'default') {
   * Retrieves a configuration object.
   *
   * This is the main entry point to the configuration API. Calling
   * @code $this->config('my_module.admin') @endcode will return a configuration
   * object in which the my_module module can store its administrative settings.
   * $this->config('my_module.admin') will return a configuration object in
   * which the my_module module can store its administrative settings.
   *
   * @param string $name
   *   The name of the configuration object to retrieve. The name corresponds to
   *   a configuration file. For @code \Drupal::config('my_module.admin') @endcode,
   *   the config object returned will contain the contents of my_module.admin
   *   a configuration file. For \Drupal::config('my_module.admin'), the config
   *   object returned will contain the contents of my_module.admin
   *   configuration file.
   *
   * @return \Drupal\Core\Config\Config
Loading