You are here

public function HierarchyManagerInterface::hierarchyGetNodeTypeSettingsForm in Entity Reference Hierarchy 8

Create the hierarchy type settings form, and load any default values using the configuration management settings.

Parameters

string $key: The name of the node type for which the form is being built.

bool $append_key: Append a node type where appropriate (almost always)

Return value

array The form array for the given hierarchy type.

See also

entity_hierarchy_form_node_type_edit_form_alter

1 method overrides HierarchyManagerInterface::hierarchyGetNodeTypeSettingsForm()
HierarchyManager::hierarchyGetNodeTypeSettingsForm in src/HierarchyManager.php
Create the hierarchy type settings form, and load any default values using the configuration management settings.

File

src/HierarchyManagerInterface.php, line 54
Contains \Drupal\entity_hierarchy\HierarchyManagerInterface.

Class

HierarchyManagerInterface
Provides an interface defining a hierarchy manager.

Namespace

Drupal\entity_hierarchy

Code

public function hierarchyGetNodeTypeSettingsForm($key, $append_key = FALSE);