You are here

public function SourceFieldPluginTrait::getSourceFieldDefinition in Lightning Media 8

Same name and namespace in other branches
  1. 8.2 src/SourceFieldPluginTrait.php \Drupal\lightning_media\SourceFieldPluginTrait::getSourceFieldDefinition()
  2. 8.3 src/SourceFieldPluginTrait.php \Drupal\lightning_media\SourceFieldPluginTrait::getSourceFieldDefinition()

Implements InputMatchInterface::getSourceFieldDefinition().

File

src/SourceFieldPluginTrait.php, line 18

Class

SourceFieldPluginTrait
Basic implementation of SourceFieldInterface.

Namespace

Drupal\lightning_media

Code

public function getSourceFieldDefinition(MediaTypeInterface $media_type) {
  return $this
    ->getSourceFieldDefinition($media_type);
}