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

Breadcrumb

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

function ReferenceBase::entityId

Gets the name of the field property which holds the entity ID.

Return value

string The entity id.

1 call to ReferenceBase::entityId()
ReferenceBase::defineValueProcessPipeline in core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php
Apply any custom processing to the field bundle migrations.
4 methods override ReferenceBase::entityId()
NodeReference::entityId in core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php
Gets the name of the field property which holds the entity ID.
NodeReference::entityId in core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php
Gets the name of the field property which holds the entity ID.
UserReference::entityId in core/modules/migrate_drupal/src/Plugin/migrate/field/d6/UserReference.php
Gets the name of the field property which holds the entity ID.
UserReference::entityId in core/modules/migrate_drupal/src/Plugin/migrate/field/d7/UserReference.php
Gets the name of the field property which holds the entity ID.

File

core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php, line 28

Class

ReferenceBase
Base class for Drupal reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

Code

protected abstract function entityId();

API Navigation

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