Same filename and directory in other branches
  1. 8.9.x core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php
  2. 9 core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php

Namespace

Drupal\config_test\Entity

File

core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php
View source
<?php

namespace Drupal\config_test\Entity;


/**
 * Defines the ConfigQueryTest configuration entity used by the query test.
 *
 * @ConfigEntityType(
 *   id = "config_query_test",
 *   label = @Translation("Test configuration for query"),
 *   handlers = {
 *     "storage" = "Drupal\config_test\ConfigTestStorage",
 *     "list_builder" = "Drupal\Core\Config\Entity\ConfigEntityListBuilder",
 *     "form" = {
 *       "default" = "Drupal\config_test\ConfigTestForm"
 *     }
 *   },
 *   config_prefix = "query",
 *   config_export = {
 *     "id",
 *     "label",
 *     "array",
 *     "number",
 *   },
 *   entity_keys = {
 *     "id" = "id",
 *     "label" = "label"
 *   }
 * )
 *
 * @see \Drupal\system\Tests\Entity\ConfigEntityQueryTest
 */
class ConfigQueryTest extends ConfigTest {

  /**
   * A number used by the sort tests.
   *
   * @var int
   */
  public $number;

  /**
   * An array used by the wildcard tests.
   *
   * @var array
   */
  public $array = [];

}

Classes

Namesort descending Description
ConfigQueryTest Defines the ConfigQueryTest configuration entity used by the query test.