You are here

public function FieldFormatterConditionBase::hasDefinition in Field Formatter Condition 8

Indicates if a specific plugin definition exists.

Parameters

string $plugin_id: A plugin ID.

Return value

bool TRUE if the definition exists, FALSE otherwise.

Overrides DiscoveryInterface::hasDefinition

File

src/Plugin/FieldFormatterConditionBase.php, line 26

Class

FieldFormatterConditionBase
Base class for Field formatter condition plugins.

Namespace

Drupal\fico\Plugin

Code

public function hasDefinition($plugin_id) {
}