function ActionValidationTest::setUp
Overrides ConfigEntityValidationTestBase::setUp
File
- 
              core/modules/ system/ tests/ src/ Kernel/ Entity/ ActionValidationTest.php, line 21 
Class
- ActionValidationTest
- Tests validation of action entities.
Namespace
Drupal\Tests\system\Kernel\EntityCode
protected function setUp() : void {
  parent::setUp();
  $this->entity = Action::create([
    'id' => 'test',
    'label' => 'Test',
    'type' => 'test',
    'plugin' => 'action_goto_action',
  ]);
  $this->entity
    ->save();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
