Unverified Commit 1029fec2 authored by alexpott's avatar alexpott
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
...@@ -26,7 +26,7 @@ private function __construct() { ...@@ -26,7 +26,7 @@ private function __construct() {
* An Attribute object or an array of attributes. * An Attribute object or an array of attributes.
* *
* @return bool * @return bool
* TRUE if the attibute exists, FALSE otherwise. * TRUE if the attribute exists, FALSE otherwise.
* *
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
* When the input $collection is neither an Attribute object nor an array. * When the input $collection is neither an Attribute object nor an array.
......
...@@ -279,7 +279,7 @@ public function includeCount() { ...@@ -279,7 +279,7 @@ public function includeCount() {
* the HTTP API. For example, read-only data from an internal resource might * the HTTP API. For example, read-only data from an internal resource might
* be embedded in a public resource using computed fields. Therefore, * be embedded in a public resource using computed fields. Therefore,
* including the internal resource as a relationship with distinct routes * including the internal resource as a relationship with distinct routes
* might uneccesarilly expose internal implementation details. * might unnecessarily expose internal implementation details.
* *
* @return bool * @return bool
* TRUE if the resource type is internal. FALSE otherwise. * TRUE if the resource type is internal. FALSE otherwise.
......
...@@ -52,7 +52,7 @@ protected function setUpAuthorization($method) { ...@@ -52,7 +52,7 @@ protected function setUpAuthorization($method) {
protected function createEntity() { protected function createEntity() {
$workflow = Workflow::create([ $workflow = Workflow::create([
'id' => 'rest_workflow', 'id' => 'rest_workflow',
'label' => 'REST Worklow', 'label' => 'REST Workflow',
'type' => 'workflow_type_complex_test', 'type' => 'workflow_type_complex_test',
]); ]);
$workflow $workflow
...@@ -96,7 +96,7 @@ protected function getExpectedDocument() { ...@@ -96,7 +96,7 @@ protected function getExpectedDocument() {
'workflow_type_test', 'workflow_type_test',
], ],
], ],
'label' => 'REST Worklow', 'label' => 'REST Workflow',
'langcode' => 'en', 'langcode' => 'en',
'status' => TRUE, 'status' => TRUE,
'workflow_type' => 'workflow_type_complex_test', 'workflow_type' => 'workflow_type_complex_test',
......
...@@ -545,7 +545,7 @@ public function testBuildRoutes() { ...@@ -545,7 +545,7 @@ public function testBuildRoutes() {
$collection = new RouteCollection(); $collection = new RouteCollection();
// Entity types that declare a link template for canonical must have a // 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.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_string_id.canonical', $expected['entity.with_string_id.canonical']);
$collection->add('entity.with_integer_id.canonical', $expected['entity.with_integer_id.canonical']); $collection->add('entity.with_integer_id.canonical', $expected['entity.with_integer_id.canonical']);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
(Drupal => { (Drupal => {
/** /**
* Constucts a password confirm message element * Constructs a password confirm message element
* *
* @return {string} * @return {string}
* A string representing a DOM fragment. * A string representing a DOM fragment.
......
...@@ -48,7 +48,7 @@ protected function setUpAuthorization($method) { ...@@ -48,7 +48,7 @@ protected function setUpAuthorization($method) {
protected function createEntity() { protected function createEntity() {
$workflow = Workflow::create([ $workflow = Workflow::create([
'id' => 'rest_workflow', 'id' => 'rest_workflow',
'label' => 'REST Worklow', 'label' => 'REST Workflow',
'type' => 'workflow_type_complex_test', 'type' => 'workflow_type_complex_test',
]); ]);
$workflow $workflow
...@@ -74,7 +74,7 @@ protected function getExpectedNormalizedEntity() { ...@@ -74,7 +74,7 @@ protected function getExpectedNormalizedEntity() {
], ],
], ],
'id' => 'rest_workflow', 'id' => 'rest_workflow',
'label' => 'REST Worklow', 'label' => 'REST Workflow',
'langcode' => 'en', 'langcode' => 'en',
'status' => TRUE, 'status' => TRUE,
'type' => 'workflow_type_complex_test', 'type' => 'workflow_type_complex_test',
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
(Drupal => { (Drupal => {
/** /**
* Constucts a checkbox input element. * Constructs a checkbox input element.
* *
* @return {string} * @return {string}
* A string representing a DOM fragment. * A string representing a DOM fragment.
......
...@@ -1808,7 +1808,7 @@ ...@@ -1808,7 +1808,7 @@
}, },
/** /**
* Constucts the table drag handle. * Constructs the table drag handle.
* *
* @return {string} * @return {string}
* A string representing a DOM fragment. * A string representing a DOM fragment.
......
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