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.