Entity.php

Same filename in this branch
  1. 8.9.x core/modules/views/src/Plugin/views/argument_validator/Entity.php
  2. 8.9.x core/modules/views/src/Plugin/views/area/Entity.php
  3. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/Entity.php
Same filename and directory in other branches
  1. 9 core/modules/views/src/Plugin/views/argument_validator/Entity.php
  2. 9 core/modules/views/src/Plugin/views/area/Entity.php
  3. 9 core/modules/migrate/src/Plugin/migrate/destination/Entity.php
  4. 10 core/modules/views/src/Plugin/views/argument_validator/Entity.php
  5. 10 core/modules/views/src/Plugin/views/area/Entity.php
  6. 10 core/modules/migrate/src/Plugin/migrate/destination/Entity.php
  7. 11.x core/modules/views/src/Plugin/views/argument_validator/Entity.php
  8. 11.x core/modules/views/src/Plugin/views/area/Entity.php
  9. 11.x core/modules/migrate/src/Plugin/migrate/destination/Entity.php

Namespace

Drupal\Core\Entity

File

core/lib/Drupal/Core/Entity/Entity.php

View source
<?php

namespace Drupal\Core\Entity;

@trigger_error('The ' . __NAMESPACE__ . '\\Entity is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Instead, use ' . __NAMESPACE__ . '\\EntityBase. See https://www.drupal.org/node/3021808', E_USER_DEPRECATED);

/**
 * Defines a base entity class.
 *
 * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
 *   \Drupal\Core\Entity\EntityBase instead.
 *
 * @see https://www.drupal.org/node/3021808
 */
abstract class Entity extends EntityBase {

}

Classes

Title Deprecated Summary
Entity

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityBase instead.

Defines a base entity class.

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