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

Breadcrumb

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

function ContentEntity::__toString

Overrides MigrateSourceInterface::__toString

File

core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php, line 157

Class

ContentEntity
Source plugin to get content entities from the current version of Drupal.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

public function __toString() {
    return (string) $this->entityType
        ->getPluralLabel();
}

API Navigation

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