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

Issue #2903027 by spokje, jofitz, quietone, savkaviktor16@gmail.com, Vidushi...

Issue #2903027 by spokje, jofitz, quietone, savkaviktor16@gmail.com, Vidushi Mehta, mfernea, neclimdul, longwave, borisson_, paulocs, catch, xjm: Fix 'Drupal.Commenting.DocComment.ShortNotCapital' coding standard for callbacks
parent 9ef9b0f7
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -63,7 +63,9 @@ public function processOutbound($route_name, Route $route, array &$parameters, ?
  }

  /**
   * #lazy_builder callback; gets a CSRF token for the given path.
   * Render API callback: Adds a CSRF token for the given path to the markup.
   *
   * This function is assigned as a #lazy_builder callback.
   *
   * @param string $path
   *   The path to get a CSRF token for.
+3 −1
Original line number Diff line number Diff line
@@ -120,7 +120,9 @@ public function loadDefaultValuesFromConfig(array $element): array {
  }

  /**
   * #after_build callback which stores a map of element names to config keys.
   * Render API callback: Stores a map of element names to config keys.
   *
   * This function is assigned as a #after_build callback.
   *
   * This will store an array in the form state whose keys are strings in the
   * form of `CONFIG_NAME:PROPERTY_PATH`, and whose values are instances of
+3 −1
Original line number Diff line number Diff line
@@ -62,7 +62,9 @@ public static function processActions(&$element, FormStateInterface $form_state,
  }

  /**
   * #pre_render callback for #type 'actions'.
   * Render API callback: Groups the elements with a #dropbutton property.
   *
   * This function is assigned as a #pre_render callback.
   *
   * This callback iterates over all child elements of the #type 'actions'
   * container to look for elements with a #dropbutton property, so as to group
+6 −2
Original line number Diff line number Diff line
@@ -104,7 +104,9 @@ public static function valueCallback(&$element, $input, FormStateInterface $form
  }

  /**
   * #process callback for #pattern form element property.
   * Render API callback: Handles the #pattern form element property.
   *
   * This function is assigned as a #process callback.
   *
   * @param array $element
   *   An associative array containing the properties and children of the
@@ -127,7 +129,9 @@ public static function processPattern(&$element, FormStateInterface $form_state,
  }

  /**
   * #element_validate callback for #pattern form element property.
   * Render API callback: Handles the #pattern form element property..
   *
   * This function is assigned as a #element_validate callback.
   *
   * @param array $element
   *   An associative array containing the properties and children of the
+3 −1
Original line number Diff line number Diff line
@@ -62,7 +62,9 @@ public function getInfo() {
  }

  /**
   * #pre_render callback to associate the appropriate cache context.
   * Render API callback: Associates the appropriate cache context.
   *
   * This function is assigned as a #pre_render callback.
   *
   * @param array $pager
   *   A renderable array of #type => pager.
Loading