ContentEntityBase::setValidationRequired
  • References/PHP/Drupal/Entity/ContentEntityBase

public ContentEntityBase::setValidationRequired($required)

2025-01-10 15:47:30
ContentEntityBase::getEntityKey
  • References/PHP/Drupal/Entity/ContentEntityBase

protected ContentEntityBase::getEntityKey($key)

2025-01-10 15:47:30
ContentEntityBase::id
  • References/PHP/Drupal/Entity/ContentEntityBase

public ContentEntityBase::id() Gets

2025-01-10 15:47:30
ContentEntityBase::$fields
  • References/PHP/Drupal/Entity/ContentEntityBase

The array of fields, each being an instance of FieldItemListInterface. Type:

2025-01-10 15:47:30
ContentEntityBase::toArray
  • References/PHP/Drupal/Entity/ContentEntityBase

public ContentEntityBase::toArray() Gets

2025-01-10 15:47:30
ContentEntityBase::$activeLangcode
  • References/PHP/Drupal/Entity/ContentEntityBase

Language code identifying the entity active language. This is the language field accessors will use to determine which field values manipulate

2025-01-10 15:47:30
ContentEntityBase::setRevisionTranslationAffected
  • References/PHP/Drupal/Entity/ContentEntityBase

public ContentEntityBase::setRevisionTranslationAffected($affected)

2025-01-10 15:47:30
ContentEntityBase::preSave
  • References/PHP/Drupal/Entity/ContentEntityBase

public ContentEntityBase::preSave(EntityStorageInterface $storage)

2025-01-10 15:47:30
ContentEntityBase::$translatableEntityKeys
  • References/PHP/Drupal/Entity/ContentEntityBase

Holds translatable entity keys such as the label. Type:

2025-01-10 15:47:30
ContentEntityBase::$newRevision
  • References/PHP/Drupal/Entity/ContentEntityBase

Boolean indicating whether a new revision should be created on save. Type: bool File

2025-01-10 15:47:30