MissingSchema.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\block_test\Plugin\ConditionFile
core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.phpView 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
Name | Description |
---|---|
MissingSchema | Provides a 'missing_schema' condition. |