Skip to content
Snippets Groups Projects

CSpell - enable and fix

5 files
+ 7
8
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -23,7 +23,7 @@ use Drupal\Core\Render\Element\FormElement;
* value is "Add another item".
*
* Use this element as a wrapper for other form elements. They will be repeated
* based on the cardinality specified, organised under a "delta", similar to
* based on the cardinality specified, organized under a "delta", similar to
* field widgets. Deltas are sortable.
* Example of an element that allows to specify unlimited job title strings:
* @code
@@ -40,7 +40,7 @@ use Drupal\Core\Render\Element\FormElement;
*
* Example of an element with multiple form elements inside. Each "delta" will
* contain all the children of the main element. This example allows to specify
* up to three pairs of name/e-mail values:
* up to three pairs of name/email values:
* @code
* $form['contacts'] = [
* '#type' => 'multivalue',
@@ -88,7 +88,7 @@ use Drupal\Core\Render\Element\FormElement;
* structure, including the child element name.
*
* The element can be marked as required. The required will apply *only* to the
* first delta. This behaviour is consistent with entity fields.
* first delta. This behavior is consistent with entity fields.
* How child elements are marked as required depends on their own #required
* property.
* Given the multi-value element is marked as required:
Loading