Search for getFieldDefinitions

  1. Search 7.x for getFieldDefinitions
  2. Search 9.5.x for getFieldDefinitions
  3. Search 8.9.x for getFieldDefinitions
  4. Search 11.x for getFieldDefinitions
  5. Other projects
Title Object type File name Summary
ContentEntityBase::getFieldDefinitions function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentTranslationHandler::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandler.php Returns a set of field definitions to be used to store metadata items.
ContentTranslationHandlerInterface::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Returns a set of field definitions to be used to store metadata items.
DeletedFieldsRepository::getFieldDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepository.php
DeletedFieldsRepositoryInterface::getFieldDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Returns a list of deleted field definitions.
EntityDisplayBase::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the definitions of the fields that are candidate for display.
EntityDisplayFormBase::getFieldDefinitions function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Collects the definitions of fields whose display is configurable.
EntityFieldManager::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManagerInterface::getFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Gets the field definitions for a specific bundle.
EntityFieldManagerTest::testGetFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldDefinitions() method.
EntityFieldManagerTest::testGetFieldDefinitionsProvider function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests that getFieldDefinitions() method sets the 'provider' definition key.
EntityFieldManagerTest::testGetFieldDefinitionsWithCaching function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getFieldDefinitions() method with caching.
FieldableEntityInterface::getFieldDefinitions function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of field definitions of all contained fields.

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