You are here

public function LinkTypeReloadTest::doCreateFlag in Flag 8.4

Create a node type and a flag.

1 call to LinkTypeReloadTest::doCreateFlag()
LinkTypeReloadTest::testFlagReloadLink in tests/src/Functional/LinkTypeReloadTest.php
Test the confirm form link type.

File

tests/src/Functional/LinkTypeReloadTest.php, line 37

Class

LinkTypeReloadTest
Tests the reload link type.

Namespace

Drupal\Tests\flag\Functional

Code

public function doCreateFlag() {
  $this->flag = $this
    ->createFlag('node', [
    $this->nodeType,
  ], 'reload');
}