You are here

trait SourceFieldPluginTrait in Lightning Media 8.3

Same name and namespace in other branches
  1. 8 src/SourceFieldPluginTrait.php \Drupal\lightning_media\SourceFieldPluginTrait
  2. 8.2 src/SourceFieldPluginTrait.php \Drupal\lightning_media\SourceFieldPluginTrait

Trait implementation of SourceFieldInterface.

Hierarchy

File

src/SourceFieldPluginTrait.php, line 12

Namespace

Drupal\lightning_media
View source
trait SourceFieldPluginTrait {

  /**
   * Implements InputMatchInterface::getSourceFieldDefinition().
   */
  public function getSourceFieldDefinition(MediaTypeInterface $media_type) {
    return $this
      ->getSourceFieldDefinition($media_type);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SourceFieldPluginTrait::getSourceFieldDefinition public function Implements InputMatchInterface::getSourceFieldDefinition().