class ParagraphsReplicateEnableTest

Enables replicate module.

@group paragraphs

Hierarchy

Expanded class hierarchy of ParagraphsReplicateEnableTest

File

paragraphs/tests/src/Functional/WidgetStable/ParagraphsReplicateEnableTest.php, line 11

Namespace

Drupal\Tests\paragraphs\Functional\WidgetStable
View source
class ParagraphsReplicateEnableTest extends ParagraphsDuplicateFeatureTest {
  protected static $modules = [
    'replicate',
  ];

}

Members

Name Modifiers Type Description Overridessort ascending
ParagraphsTestBase::setUp protected function 19
ParagraphsTestBase::$defaultTheme protected property 2
ParagraphsTestBase::$admin_user protected property Drupal user object created by loginAsAdmin(). 1
ParagraphsDuplicateFeatureTest::testDuplicateButton public function Tests duplicate paragraph feature.
ParagraphsDuplicateFeatureTest::testDuplicateButtonWithNesting public function Tests duplicate paragraph feature with nested paragraphs.
ParagraphsDuplicateFeatureTest::testDuplicateButtonWithLimitedCardinality public function Tests duplicate paragraph feature for fields with a limited cardinality.
ParagraphsTestBase::setAddMode protected function Sets the Paragraphs widget add mode. Overrides ParagraphsTestBase::setAddMode
ParagraphsTestBase::removeDefaultParagraphType protected function Removes the default paragraph type. Overrides ParagraphsTestBase::removeDefaultParagraphType
ParagraphsTestBaseTrait::addParagraphedContentType protected function Adds a content type with a Paragraphs field.
ParagraphsTestBaseTrait::addParagraphsField protected function Adds a Paragraphs field to a given entity type.
ParagraphsTestBaseTrait::addParagraphsType protected function Adds a Paragraphs type.
ParagraphsTestBaseTrait::addParagraphsTypeIcon protected function Adds an icon to a paragraphs type.
ParagraphsTestBaseTrait::addFieldtoParagraphType protected function Adds a field to a given paragraph type.
ParagraphsTestBaseTrait::setParagraphsWidgetSettings protected function Sets some of the settings of a paragraphs field widget.
ParagraphsTestBaseTrait::createEditorialWorkflow protected function Creates a workflow entity.
ParagraphsTestBaseTrait::coreVersion protected function Checks the core version.
ParagraphsTestBase::loginAsAdmin function Creates an user with admin permissions and log in.
ParagraphsTestBase::setAllowedParagraphsTypes protected function Sets the allowed Paragraphs types that can be added.
ParagraphsTestBase::setParagraphsTypeWeight protected function Sets the weight of a given Paragraphs type.
ParagraphsTestBase::setDefaultParagraphType protected function Sets the default paragraph type.
ParagraphsTestBase::setParagraphsWidgetMode protected function Sets the Paragraphs widget display mode.
ParagraphsReplicateEnableTest::$modules protected static property Modules to enable. Overrides ParagraphsDuplicateFeatureTest::$modules
ParagraphsTestBaseTrait::$workflow protected property The workflow entity.
ParagraphsTestBase::$admin_permissions protected property List of permissions used by loginAsAdmin().