Entity.php
Same filename in this branch
Same filename in other branches
- 9 core/modules/views/src/Plugin/views/argument_validator/Entity.php
- 9 core/modules/views/src/Plugin/views/area/Entity.php
- 9 core/modules/migrate/src/Plugin/migrate/destination/Entity.php
- 10 core/modules/views/src/Plugin/views/argument_validator/Entity.php
- 10 core/modules/views/src/Plugin/views/area/Entity.php
- 10 core/modules/migrate/src/Plugin/migrate/destination/Entity.php
- 11.x core/modules/views/src/Plugin/views/argument_validator/Entity.php
- 11.x core/modules/views/src/Plugin/views/area/Entity.php
- 11.x core/modules/migrate/src/Plugin/migrate/destination/Entity.php
Namespace
Drupal\Core\EntityFile
-
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.