ConfigQueryTest.php

Same filename in other branches
  1. 9 core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php
  2. 8.9.x core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php
  3. 10 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

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

use Drupal\config_test\ConfigTestForm;
use Drupal\config_test\ConfigTestStorage;
use Drupal\Core\Config\Entity\ConfigEntityListBuilder;
use Drupal\Core\Entity\Attribute\ConfigEntityType;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines the ConfigQueryTest configuration entity used by the query test.
 *
 *
 * @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 = [];
    
    /**
     * {@inheritdoc}
     */
    public function concatProtectedProperty(string $value1, string $value2) : static {
        // This method intentionally does not have the config action attribute to
        // ensure it is still discovered.
        return parent::concatProtectedProperty($value1, $value2);
    }

}

Classes

Title Deprecated Summary
ConfigQueryTest Defines the ConfigQueryTest configuration entity used by the query test.

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