Functions - 8.9.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
editor_image_upload_settings_form core/modules/editor/editor.admin.inc Subform constructor to configure the text editor's image upload settings. 1
editor_load core/modules/editor/editor.module Loads an individual configured text editor based on text format ID. 8
editor_menu_links_discovered_alter core/modules/editor/editor.module Implements hook_menu_links_discovered_alter().
editor_post_update_clear_cache_for_file_reference_filter core/modules/editor/editor.post_update.php Clear the render cache to fix file references added by Editor.
editor_test_editor_info_alter core/modules/editor/tests/modules/editor_test.module Implements hook_editor_info_alter().
editor_test_editor_js_settings_alter core/modules/editor/tests/modules/editor_test.module Implements hook_editor_js_settings_alter().
editor_test_editor_xss_filter_alter core/modules/editor/tests/modules/editor_test.module Implements hook_editor_xss_filter_alter().
editor_test_file_presave core/modules/editor/tests/modules/editor_test.module Implements hook_ENTITY_TYPE_presave() for file entities.
editor_update_8001 core/modules/editor/editor.install Synchronizes the editor status with the paired text format status.
element_info

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal::service('element_info')->getInfo() instead.

core/includes/common.inc Retrieves the default properties for the defined element type. 8
element_info_property

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal::service('element_info')->getInfoProperty() instead.

core/includes/common.inc Retrieves a single property for the defined element type.
element_info_test_element_info_alter core/modules/system/tests/modules/element_info_test/element_info_test.module Implements hook_element_info_alter().
element_info_test_element_plugin_alter core/modules/system/tests/modules/element_info_test/element_info_test.module Implements hook_element_plugin_alter().
element_info_test_element_pre_render core/modules/system/tests/modules/element_info_test/element_info_test.module 2
entity_create

in drupal:8.0.0 and is removed from drupal:9.0.0. Use The method overriding Entity::create() for the entity type, e.g. \Drupal\node\Entity\Node::create() if the entity type is known. If the entity type is variable, use the entity storage's create() method to construct a new entity:

\Drupal::entityTypeManager()->getStorage($entity_type)
    ->create($values);
core/includes/entity.inc Constructs a new entity object, without permanently saving it. 1 3
entity_crud_hook_test_block_create core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for block entities.
entity_crud_hook_test_block_delete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for block entities.
entity_crud_hook_test_block_insert core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for block entities.
entity_crud_hook_test_block_load core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for block entities.
entity_crud_hook_test_block_predelete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for block entities.
entity_crud_hook_test_block_presave core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for block entities.
entity_crud_hook_test_block_update core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for block entities.
entity_crud_hook_test_comment_create core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for comment entities.
entity_crud_hook_test_comment_delete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for comment entities.
entity_crud_hook_test_comment_insert core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for comment entities.
entity_crud_hook_test_comment_load core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for comment entities.
entity_crud_hook_test_comment_predelete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for comment entities.
entity_crud_hook_test_comment_presave core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for comment entities.
entity_crud_hook_test_comment_update core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for comment entities.
entity_crud_hook_test_entity_create core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_create().
entity_crud_hook_test_entity_delete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_delete().
entity_crud_hook_test_entity_insert core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_insert().
entity_crud_hook_test_entity_load core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_load().
entity_crud_hook_test_entity_predelete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_predelete().
entity_crud_hook_test_entity_preload core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_preload().
entity_crud_hook_test_entity_presave core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_presave().
entity_crud_hook_test_entity_update core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_update().
entity_crud_hook_test_file_create core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for file entities.
entity_crud_hook_test_file_delete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for file entities.
entity_crud_hook_test_file_insert core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for file entities.
entity_crud_hook_test_file_load core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for file entities.
entity_crud_hook_test_file_predelete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for file entities.
entity_crud_hook_test_file_presave core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for file entities.
entity_crud_hook_test_file_update core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for file entities.
entity_crud_hook_test_node_create core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for node entities.
entity_crud_hook_test_node_delete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for node entities.
entity_crud_hook_test_node_insert core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for node entities.
entity_crud_hook_test_node_load core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for node entities.
entity_crud_hook_test_node_predelete core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for node entities.
entity_crud_hook_test_node_presave core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for node entities.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.