public function FeedImportController::getTitle in Feed Import 8
Returns the name from a feed ID.
Parameters
string: The machine name for a feed.
Return value
string The human friendly name of a feed.
1 string reference to 'FeedImportController::getTitle'
File
- src/
Controller/ FeedImportController.php, line 95 - Contains \Drupal\feed_import\Controller\FeedImportController.
Class
- FeedImportController
- Controller routines for feed_import routes.
Namespace
Drupal\feed_import\ControllerCode
public function getTitle($feed_importer) {
if ($feed_importer) {
return $feed_importer
->label();
}
return 'Feed Import';
}