StubEntityBase.php

Namespace

Drupal\Tests\Core\Entity

File

core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Core\Entity;

use Drupal\Core\Entity\EntityBase;

/**
 * A stub base entity for testing purposes.
 */
class StubEntityBase extends EntityBase {
    public $id;
    public $langcode;
    public $uuid;
    public $label;

}

Classes

Title Deprecated Summary
StubEntityBase A stub base entity for testing purposes.

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