Search for getType

  1. Search 7.x for getType
  2. Search 9.5.x for getType
  3. Search 8.9.x for getType
  4. Search 11.x for getType
  5. Other projects
Title Object type File name Summary
Action::getType function core/modules/system/src/Entity/Action.php Returns the operation type.
ActionConfigEntityInterface::getType function core/modules/system/src/ActionConfigEntityInterface.php Returns the operation type.
AssetsStream::getType function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the type of stream wrapper.
BaseFieldDefinition::getType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field type.
BlockManager::getType function core/lib/Drupal/Core/Block/BlockManager.php A string identifying the plugin type.
Comment::getTypeId function core/modules/comment/src/Entity/Comment.php Get the comment type ID for this comment.
CommentInterface::getTypeId function core/modules/comment/src/CommentInterface.php Get the comment type id for this comment.
ConditionManager::getType function core/lib/Drupal/Core/Condition/ConditionManager.php A string identifying the plugin type.
ConfigEntityAdapter::getTypedConfigManager function core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php Gets the typed config manager.
ConfigEntityAdapter::getTypedDataManager function core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php @todo Remove this in https://www.drupal.org/node/3011137.
ConfigEntityBase::getTypedConfig function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Gets the typed config manager.
ConfigEntityMapperInterface::getType function core/modules/config_translation/src/ConfigEntityMapperInterface.php Gets the entity type ID from this mapper.
Element::getTypedDataManager function core/lib/Drupal/Core/Config/Schema/Element.php Gets the typed configuration manager.
EntityBase::getTypedData function core/lib/Drupal/Core/Entity/EntityBase.php Gets a typed data object for this entity object.
EntityBase::getTypedDataClass function core/lib/Drupal/Core/Entity/EntityBase.php Returns the typed data class name for this entity.
EntityBaseTest::testGetTypedData function core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php Tests that the correct entity adapter is returned.
EntityDisplayModeBase::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the entity type this display mode is used for.
EntityDisplayModeBase::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Set the entity type this display mode is used for.
EntityDisplayModeBaseUnitTest::testGetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::getTargetType[[api-linebreak]]
EntityDisplayModeBaseUnitTest::testSetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::setTargetType[[api-linebreak]]
EntityDisplayModeInterface::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Gets the entity type this display mode is used for.
EntityDisplayModeInterface::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Set the entity type this display mode is used for.
EntityInterface::getTypedData function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a typed data object for this entity object.
Extension::getType function core/lib/Drupal/Core/Extension/Extension.php Returns the type of the extension.
FieldConfigBase::getType function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the field type.
FieldDefinition::getType function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field type.
FieldDefinitionInterface::getType function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the field type.
FieldStorageDefinitionInterface::getType function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the field type.
FilteredPluginManagerTrait::getType function core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php A string identifying the plugin type.
GDToolkit::getType function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Gets the PHP type of the image.
HelpSearch::getType function core/modules/help/src/Plugin/Search/HelpSearch.php Returns the search index type this plugin uses.
ImageTest::testGetType function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getToolkit()->getType().
JSMessageTestController::getTypes function core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php Gets the test types.
LayoutPluginManager::getType function core/lib/Drupal/Core/Layout/LayoutPluginManager.php A string identifying the plugin type.
LocalReadOnlyStream::getType function core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php Returns the type of stream wrapper.
LocalStream::getType function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns the type of stream wrapper.
MultipleWidgetFormTest::testFieldFormMultipleWidgetTypeAlter function core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php Tests hook_field_widget_complete_WIDGET_TYPE_form_alter().
MultipleWidgetFormTest::testFieldFormMultipleWidgetTypeAlterSingleValues function core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php Tests hook_field_widget_complete_WIDGET_TYPE_form_alter() with single value elements.
PrivateStream::getType function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the type of stream wrapper.
PublicStream::getType function core/lib/Drupal/Core/StreamWrapper/PublicStream.php Returns the type of stream wrapper.
StreamWrapperInterface::getType function core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Returns the type of stream wrapper.
TemporaryStream::getType function core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php Returns the type of stream wrapper.
TestFilteredPluginManager::getType function core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php A string identifying the plugin type.
TestToolkit::getType function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Returns the type of the image.
TextField::getFieldWidgetType function core/modules/text/src/Plugin/migrate/field/d7/TextField.php Get the field widget type from the source.
TypedDataAwareValidatorTrait::getTypedData function core/lib/Drupal/Core/TypedData/Validation/TypedDataAwareValidatorTrait.php Gets the typed data object for the validated value.
TypedDataDefinitionTest::testNotImplementedGetType function core/tests/Drupal/KernelTests/Core/TypedData/TypedDataDefinitionTest.php Tests getString() throws exception when getType() is not implemented.
TypedDataTrait::getTypedDataManager function core/lib/Drupal/Core/TypedData/TypedDataTrait.php Gets the typed data manager.
ViewUI::getTypedData function core/modules/views_ui/src/ViewUI.php Gets a typed data object for this entity object.

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