Commit c0cc344f authored by catch's avatar catch
Browse files

Issue #3336780 by diegors, schlaukopf, xjm, fabiansierra5191: Correctly...

Issue #3336780 by diegors, schlaukopf, xjm, fabiansierra5191: Correctly capitalize "url" in documentation only, part 2
parent c2fe4bcb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ function template_preprocess_datetime_wrapper(&$variables) {
 *   - attributes: A keyed array of attributes for the <ul> containing the list
 *     of links.
 *   - set_active_class: (optional) Whether each link should compare the
 *     route_name + route_parameters or url (path), language, and query options
 *     route_name + route_parameters or URL (path), language, and query options
 *     to the current URL, to determine whether the link is "active". If so,
 *     attributes will be added to the HTML elements for both the link and the
 *     list item that contains it, which will result in an "is-active" class
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public function optimize(array $js_asset) {
   *   Contents of the javascript asset.
   */
  public function clean($contents) {
    // Remove JS source and source mapping urls or these may cause 404 errors.
    // Remove JS source and source mapping URLs or these may cause 404 errors.
    $contents = preg_replace('/\/\/(#|@)\s(sourceURL|sourceMappingURL)=\s*(\S*?)\s*$/m', '', $contents);

    return $contents;
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ protected function configure() {
   * @return \Drupal\Core\Database\Connection
   */
  protected function getDatabaseConnection(InputInterface $input) {
    // Load connection from a url.
    // Load connection from a URL.
    if ($input->getOption('database-url')) {
      // @todo this could probably be refactored to not use a global connection.
      // Ensure database connection isn't set.
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ class EntityController implements ContainerInjectionInterface {
  protected $renderer;

  /**
   * The url generator.
   * The URL generator.
   */
  protected UrlGeneratorInterface $urlGenerator;

+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ class MaintenanceModeSubscriber implements EventSubscriberInterface {
   * @param \Drupal\Core\StringTranslation\TranslationInterface $translation
   *   The string translation.
   * @param \Drupal\Core\Routing\UrlGeneratorInterface $url_generator
   *   The url generator.
   *   The URL generator.
   * @param \Drupal\Core\Session\AccountInterface $account
   *   The current user.
   * @param \Drupal\Core\Render\BareHtmlPageRendererInterface $bare_html_page_renderer
Loading