MissingSchema.php

Same filename in other branches
  1. 9 core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php
  2. 8.9.x core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php
  3. 10 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

declare (strict_types=1);
namespace Drupal\block_test\Plugin\Condition;

use Drupal\Core\Condition\Attribute\Condition;
use Drupal\Core\Condition\ConditionPluginBase;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Provides a 'missing_schema' condition.
 */
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.