MissingSchema.php

Same filename in other branches
  1. 8.9.x core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php
  2. 10 core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php
  3. 11.x core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php

Namespace

Drupal\block_test\Plugin\Condition

File

core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php

View source
<?php

namespace Drupal\block_test\Plugin\Condition;

use Drupal\Core\Condition\ConditionPluginBase;

/**
 * Provides a 'missing_schema' condition.
 *
 * @Condition(
 *   id = "missing_schema",
 *   label = @Translation("Missing schema"),
 * )
 */
class MissingSchema extends ConditionPluginBase {
    
    /**
     * {@inheritdoc}
     */
    public function evaluate() {
        return FALSE;
    }
    
    /**
     * {@inheritdoc}
     */
    public function summary() {
        return 'Summary';
    }

}

Classes

Title Deprecated Summary
MissingSchema Provides a 'missing_schema' condition.

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