diff --git a/tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php b/tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php index 13b623c..1846dfe 100644 --- a/tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php +++ b/tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php @@ -20,11 +20,11 @@ trait ParagraphsTestBaseTrait { * @param string $content_type_name * Content type name to be used. * @param string $paragraphs_field_name - * Paragraphs field name to be used. Defaults to 'field_paragraphs'. + * (optional) Field name to be used. Defaults to 'field_paragraphs'. * @param string $widget_type - * Declares if we use experimental or classic widget. Options are: - * the default 'paragraphs' for experimental widget and - * 'entity_reference_paragraphs' for classic widget. + * (optional) Declares if we use experimental or classic widget. + * Defaults to 'paragraphs' for experimental widget. + * Use 'entity_reference_paragraphs' for classic widget. */ protected function addParagraphedContentType($content_type_name, $paragraphs_field_name = 'field_paragraphs', $widget_type = 'paragraphs') { // Create the content type. @@ -47,9 +47,9 @@ trait ParagraphsTestBaseTrait { * @param string $entity_type * Entity type where to add the field. * @param string $widget_type - * Declares if we use experimental or classic widget. Options are: - * the default 'paragraphs' for experimental widget and - * 'entity_reference_paragraphs' for classic widget. + * (optional) Declares if we use experimental or classic widget. + * Defaults to 'paragraphs' for experimental widget. + * Use 'entity_reference_paragraphs' for classic widget. */ protected function addParagraphsField($entity_type_name, $paragraphs_field_name, $entity_type, $widget_type = 'paragraphs') { $field_storage = FieldStorageConfig::loadByName($entity_type, $paragraphs_field_name);