function ContentEntityBase::bundle
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundle()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundle()
- 11.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundle()
Overrides EntityBase::bundle
7 calls to ContentEntityBase::bundle()
- Comment::getTypeId in core/
modules/ comment/ src/ Entity/ Comment.php - Get the comment type ID for this comment.
- ContentEntityBase::access in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks data value access.
- ContentEntityBase::getFieldDefinitions in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Returns an array of field names to skip in ::hasTranslationChanges.
- ContentEntityBase::isDefaultTranslationAffectedOnly in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 574
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function bundle() {
return $this->getEntityKey('bundle');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.