Unverified Commit 1029fec2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3159531 by jameszhang023, ipumpkin, jungle, longwave: Fix typos:...

Issue #3159531 by jameszhang023, ipumpkin, jungle, longwave: Fix typos: "attibute|uneccesarilly|colletion|constucts|worklow" in core

(cherry picked from commit 10290fed)
parent b409e09e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ private function __construct() {
   *   An Attribute object or an array of attributes.
   *
   * @return bool
   *   TRUE if the attibute exists, FALSE otherwise.
   *   TRUE if the attribute exists, FALSE otherwise.
   *
   * @throws \InvalidArgumentException
   *   When the input $collection is neither an Attribute object nor an array.
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ public function includeCount() {
   * the HTTP API. For example, read-only data from an internal resource might
   * be embedded in a public resource using computed fields. Therefore,
   * including the internal resource as a relationship with distinct routes
   * might uneccesarilly expose internal implementation details.
   * might unnecessarily expose internal implementation details.
   *
   * @return bool
   *   TRUE if the resource type is internal. FALSE otherwise.
+2 −2
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ protected function setUpAuthorization($method) {
  protected function createEntity() {
    $workflow = Workflow::create([
      'id' => 'rest_workflow',
      'label' => 'REST Worklow',
      'label' => 'REST Workflow',
      'type' => 'workflow_type_complex_test',
    ]);
    $workflow
@@ -96,7 +96,7 @@ protected function getExpectedDocument() {
              'workflow_type_test',
            ],
          ],
          'label' => 'REST Worklow',
          'label' => 'REST Workflow',
          'langcode' => 'en',
          'status' => TRUE,
          'workflow_type' => 'workflow_type_complex_test',
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ public function testBuildRoutes() {

    $collection = new RouteCollection();
    // Entity types that declare a link template for canonical must have a
    // canonical route present in the route colletion.
    // canonical route present in the route collection.
    $collection->add('entity.from_canonical.canonical', $expected['entity.from_canonical.canonical']);
    $collection->add('entity.with_string_id.canonical', $expected['entity.with_string_id.canonical']);
    $collection->add('entity.with_integer_id.canonical', $expected['entity.with_integer_id.canonical']);
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

(Drupal => {
  /**
   * Constucts a password confirm message element
   * Constructs a password confirm message element
   *
   * @return {string}
   *   A string representing a DOM fragment.
Loading