You are here

Functions in Entity Reference Hierarchy 8

Primary tabs

Namesort descending Location Description Direct uses Strings
endsWith ./entity_hierarchy.module
entity_hierarchy_entity_type_build ./entity_hierarchy.module Implements Here we're adding a form controller class for a custom node form without overriding the default node form.
entity_hierarchy_form_node_form_alter ./entity_hierarchy.module Implements Adds a vertical tab to the node form allowing a hierarchy parent to be selected or deleted. Here we're doing some permission checking, then presenting the form using the HierarchyManager class. We then use an #entity_builders callback…
entity_hierarchy_form_node_type_form_alter ./entity_hierarchy.module Implements Here we are altering the node type edit form to include hierarchy settings, such as setting which content types should support one or more child content types.
entity_hierarchy_form_node_type_form_builder ./entity_hierarchy.module Entity form builder for the node type form to save the hierarchy settings using the configuration factory. 1
entity_hierarchy_help ./entity_hierarchy.module Implements
entity_hierarchy_install ./entity_hierarchy.install Implements hook_install().
entity_hierarchy_node_builder ./entity_hierarchy.module Entity form builder adds the hierarchy information to the node object. More officially, this builds an updated entity object based upon the submitted form values. 1
entity_hierarchy_node_delete ./entity_hierarchy.module Implements hook_ENTITY_TYPE_delete().
entity_hierarchy_node_insert ./entity_hierarchy.module Implements This function will be called whenever a new node is created. We will write the hierarchy information to the database if a parent is set on the node add form.
entity_hierarchy_node_load ./entity_hierarchy.module Implements Here we're adding the parent's nid to the node object.
entity_hierarchy_node_prepare_form ./entity_hierarchy.module Implements We are loading the hierarchy parents for a given node id, and adding it to the node object for later processing in HierarchyManagerInterface::addHierarchyFormElement, which is called in entity_hierarchy_form_node_form_alter().
entity_hierarchy_node_update ./entity_hierarchy.module Implements This function will be called whenever a node is updated. We will write the hierarchy information to the database if a parent is set on the node edit form or delete the parent if a checkbox is selected.
entity_hierarchy_node_view ./entity_hierarchy.module Implements hook_ENTITY_TYPE_view().
entity_hierarchy_page_attachments ./entity_hierarchy.module Implements Right now, we're attaching an un-used jS file to all admin pages. Need to re-visit this and only load on the appropriate pages and/or forms.
entity_hierarchy_schema ./entity_hierarchy.install Implements hook_schema().
entity_hierarchy_theme ./entity_hierarchy.module Implements hook_theme().
entity_hierarchy_views_data ./entity_hierarchy.views.inc Implements hook_views_data().
entity_hierarchy_views_form_alter entity_hierarchy_views/entity_hierarchy_views.module Implements hook_form_alter().
entity_hierarchy_views_form_node_form_alter entity_hierarchy_views/entity_hierarchy_views.module @todo Please document this function.
entity_hierarchy_views_form_node_type_form_alter entity_hierarchy_views/entity_hierarchy_views.module Implements hook_entity_hierarchy_node_type_settings_form().
entity_hierarchy_views_form_node_type_form_builder entity_hierarchy_views/entity_hierarchy_views.module 1
entity_hierarchy_views_help entity_hierarchy_views/entity_hierarchy_views.module Implements hook_help().
entity_hierarchy_views_install entity_hierarchy_views/entity_hierarchy_views.install Implements hook_install().
entity_hierarchy_views_node_builder entity_hierarchy_views/entity_hierarchy_views.module Entity form builder adds the hierarchy information to the node object. More officially, this builds an updated entity object based upon the submitted form values. 1
entity_hierarchy_views_node_delete entity_hierarchy_views/entity_hierarchy_views.module Delete the node_hierarchy_views row when a node is deleted.
entity_hierarchy_views_node_insert entity_hierarchy_views/entity_hierarchy_views.module Implements hook_ENTITY_TYPE_insert().
entity_hierarchy_views_node_load entity_hierarchy_views/entity_hierarchy_views.module Implements hook_ENTITY_TYPE_load().
entity_hierarchy_views_node_prepare_form entity_hierarchy_views/entity_hierarchy_views.module Implements hook_ENTITY_TYPE_prepare_form().
entity_hierarchy_views_node_update entity_hierarchy_views/entity_hierarchy_views.module Implements hook_ENTITY_TYPE_update().
entity_hierarchy_views_node_view entity_hierarchy_views/entity_hierarchy_views.module Implements hook_ENTITY_TYPE_view().
entity_hierarchy_views_schema entity_hierarchy_views/entity_hierarchy_views.install Implements hook_schema().
entity_hierarchy_views_uninstall entity_hierarchy_views/entity_hierarchy_views.install Implements hook_uninstall().
entity_hierarchy_views_update entity_hierarchy_views/entity_hierarchy_views.module Update the given embedded view. 2
startsWith ./entity_hierarchy.module Helper functions for strings to determine if a string starts or ends with a substring.
template_preprocess_entity_hierarchy_new_child_links ./entity_hierarchy.module Prepares variables for hierarchy links to be added to pages.
_entity_hierarchy_views_get_embed_views entity_hierarchy_views/entity_hierarchy_views.module Get a list of views that can be embedded. 1
_entity_hierarchy_views_view_options entity_hierarchy_views/entity_hierarchy_views.module Prepare a list of views for selection. 3

Other projects