As Symfony uses Bundles and as we know "Symfony Good, Drupal bad" we should rename our bundles to fasces or subtype.

Comments

andypost’s picture

+1 to $entity->subType() or entityType
EDIT
CoreBundle
Entity->bundle() method

/**
   * Implements EntityInterface::bundle().
   */
  public function bundle() {
    return $this->entityType;
  }

PS: http://drupal.org/node/1040330

tim.plunkett’s picture

Status: Active » Closed (duplicate)