Unverified Commit 1029fec2 authored by alexpott's avatar alexpott

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() {
* 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.
......
......@@ -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.
......
......@@ -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',
......
......@@ -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']);
......
......@@ -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.
......
......@@ -48,7 +48,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
......@@ -74,7 +74,7 @@ protected function getExpectedNormalizedEntity() {
],
],
'id' => 'rest_workflow',
'label' => 'REST Worklow',
'label' => 'REST Workflow',
'langcode' => 'en',
'status' => TRUE,
'type' => 'workflow_type_complex_test',
......
......@@ -5,7 +5,7 @@
(Drupal => {
/**
* Constucts a checkbox input element.
* Constructs a checkbox input element.
*
* @return {string}
* A string representing a DOM fragment.
......
......@@ -1808,7 +1808,7 @@
},
/**
* Constucts the table drag handle.
* Constructs the table drag handle.
*
* @return {string}
* 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