Loading core/lib/Drupal/Core/Entity/EntityType.php +2 −0 Original line number Diff line number Diff line Loading @@ -219,6 +219,8 @@ class EntityType extends PluginDefinition implements EntityTypeInterface { * The machine name of the entity type group. * * @var string * * @see self::getGroup() */ protected $group; Loading core/lib/Drupal/Core/Entity/EntityTypeInterface.php +10 −0 Original line number Diff line number Diff line Loading @@ -669,6 +669,14 @@ public function setUriCallback($callback); /** * Gets the machine name of the entity type group. * * The entity type group is an annotation property of the entity type. * * Drupal core defines two entity type groups: * - content: Entities which form the information on a site. Content entities * are typically customized with fields. * - config: Entities which define structural elements of a site, which are * managed as part of the site's configuration. * * @return string */ public function getGroup(); Loading @@ -678,6 +686,8 @@ public function getGroup(); * * @return string|\Drupal\Core\StringTranslation\TranslatableMarkup * The group label. * * @see self::getGroup() */ public function getGroupLabel(); Loading Loading
core/lib/Drupal/Core/Entity/EntityType.php +2 −0 Original line number Diff line number Diff line Loading @@ -219,6 +219,8 @@ class EntityType extends PluginDefinition implements EntityTypeInterface { * The machine name of the entity type group. * * @var string * * @see self::getGroup() */ protected $group; Loading
core/lib/Drupal/Core/Entity/EntityTypeInterface.php +10 −0 Original line number Diff line number Diff line Loading @@ -669,6 +669,14 @@ public function setUriCallback($callback); /** * Gets the machine name of the entity type group. * * The entity type group is an annotation property of the entity type. * * Drupal core defines two entity type groups: * - content: Entities which form the information on a site. Content entities * are typically customized with fields. * - config: Entities which define structural elements of a site, which are * managed as part of the site's configuration. * * @return string */ public function getGroup(); Loading @@ -678,6 +686,8 @@ public function getGroup(); * * @return string|\Drupal\Core\StringTranslation\TranslatableMarkup * The group label. * * @see self::getGroup() */ public function getGroupLabel(); Loading