You are here

public function MediaDealerBase::getDestinationMediaTypeSourceFieldLabel in Media Migration 8

2 calls to MediaDealerBase::getDestinationMediaTypeSourceFieldLabel()
Fallback::getDestinationMediaTypeSourceFieldLabel in src/Plugin/media_migration/file/Fallback.php
MediaDealerBase::getDestinationMediaTypeLabel in src/MediaDealerBase.php
4 methods override MediaDealerBase::getDestinationMediaTypeSourceFieldLabel()
Audio::getDestinationMediaTypeSourceFieldLabel in src/Plugin/media_migration/file_entity/Audio.php
Fallback::getDestinationMediaTypeSourceFieldLabel in src/Plugin/media_migration/file/Fallback.php
RemoteVideoBase::getDestinationMediaTypeSourceFieldLabel in src/Plugin/media_migration/file_entity/RemoteVideoBase.php
Video::getDestinationMediaTypeSourceFieldLabel in src/Plugin/media_migration/file_entity/Video.php

File

src/MediaDealerBase.php, line 114

Class

MediaDealerBase
Base implementation of media dealer plugins.

Namespace

Drupal\media_migration

Code

public function getDestinationMediaTypeSourceFieldLabel() {
  return ucfirst(preg_replace('/[\\W|_]+/', ' ', strtolower($this
    ->getDestinationMediaTypeIdBase())));
}