You are here

public function InlineEntityFormTest::getEntity in Workbench Access 8

Stub function for the getEntity() method of an entity form.

File

tests/src/Kernel/InlineEntityFormTest.php, line 195

Class

InlineEntityFormTest
Tests workbench access with inline entity form.

Namespace

Drupal\Tests\workbench_access\Kernel

Code

public function getEntity() {

  // Just create a dummy page node.
  return $this
    ->createNode();
}