function RulesConditionBase::assertMetadata

Overrides ContextAwarePluginInterface::assertMetadata

1 method overrides RulesConditionBase::assertMetadata()
EntityIsOfBundle::assertMetadata in src/Plugin/Condition/EntityIsOfBundle.php
Asserts additional metadata for the selected data.

File

src/Core/RulesConditionBase.php, line 30

Class

RulesConditionBase
Base class for rules conditions.

Namespace

Drupal\rules\Core

Code

public function assertMetadata(array $selected_data) {
    // Nothing to assert by default.
    return [];
}