EntityTestNoIdBundle.php

Namespace

Drupal\entity_test\Entity

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoIdBundle.php

View source
<?php

declare (strict_types=1);
namespace Drupal\entity_test\Entity;

use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
use Drupal\Core\Entity\Attribute\ConfigEntityType;
use Drupal\Core\Entity\BundleEntityFormBase;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines the entity_test_no_id bundle configuration entity.
 */
class EntityTestNoIdBundle extends ConfigEntityBundleBase {
  
  /**
   * The machine name.
   *
   * @var string
   */
  protected $id;
  
  /**
   * The human-readable name.
   *
   * @var string
   */
  protected $label;

}

Classes

Title Deprecated Summary
EntityTestNoIdBundle Defines the entity_test_no_id bundle configuration entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.