public function SourcePluginBase::getUrl in Translation Management Tool 8
Returns the Uri for this job item.
Parameters
\Drupal\tmgmt\JobItemInterface $job_item: The job item entity.
Return value
\Drupal\Core\Url|null The URL object for the source object.
Overrides SourcePluginInterface::getUrl
3 methods override SourcePluginBase::getUrl()
- ConfigSource::getUrl in sources/
tmgmt_config/ src/ Plugin/ tmgmt/ Source/ ConfigSource.php - Returns the Uri for this job item.
- ContentEntitySource::getUrl in sources/
content/ src/ Plugin/ tmgmt/ Source/ ContentEntitySource.php - Returns the Uri for this job item.
- TestSource::getUrl in tmgmt_test/
src/ Plugin/ tmgmt/ Source/ TestSource.php - Returns the Uri for this job item.
File
- src/
SourcePluginBase.php, line 24
Class
- SourcePluginBase
- Default controller class for source plugins.
Namespace
Drupal\tmgmtCode
public function getUrl(JobItemInterface $job_item) {
return NULL;
}