Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityInterface.php

function EntityInterface::getConfigTarget

Gets the configuration target identifier for the entity.

Used to supply the correct format for storing a reference targeting this entity in configuration.

Return value

string The configuration target identifier.

2 methods override EntityInterface::getConfigTarget()
EntityBase::getConfigTarget in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the configuration target identifier for the entity.
ViewUI::getConfigTarget in core/modules/views_ui/src/ViewUI.php
Gets the configuration target identifier for the entity.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 445

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getConfigTarget();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal