You are here

public function NodeHierarchyChildrenForm::getBaseFormId in Entity Reference Hierarchy 8

Returns a string identifying the base form.

Return value

string|null The string identifying the base form or NULL if this is not a base form.

Overrides EntityForm::getBaseFormId

File

src/Form/NodehierarchyChildrenForm.php, line 53
Contains \Drupal\entity_hierarchy\Form\NodehierarchyChildrenForm.

Class

NodeHierarchyChildrenForm
Defines a form that is displayed when visiting /node/{node}/children

Namespace

Drupal\entity_hierarchy\Form

Code

public function getBaseFormId() {

  // Don't show a parent form here
  return NULL;
}