ScheduledUpdateTypeController.php in Scheduled Updates 8
File
src/Controller/ScheduledUpdateTypeController.php
View source
<?php
namespace Drupal\scheduled_updates\Controller;
use Drupal\Core\Controller\ControllerBase;
use Drupal\scheduled_updates\ScheduledUpdateTypeInterface;
class ScheduledUpdateTypeController extends ControllerBase {
public function editTitle(ScheduledUpdateTypeInterface $scheduled_update_type) {
return $this
->t('Edit <em>@label</em> Scheduled Update Type', [
'@label' => $scheduled_update_type
->label(),
]);
}
}