public function LatestRevisionUpdateRunner::getDescription in Scheduled Updates 8
Get the description of the Runner Plugin.
Usually this will return description from the plugin itself but some runners may need a dynamic description or a long description.
Return value
string
Overrides BaseUpdateRunner::getDescription
File
- src/
Plugin/ UpdateRunner/ LatestRevisionUpdateRunner.php, line 98 - Contains \Drupal\scheduled_updates\Plugin\UpdateRunner\LatestRevisionUpdateRunner
Class
- LatestRevisionUpdateRunner
- The Latest Revision Update Runner.
Namespace
Drupal\scheduled_updates\Plugin\UpdateRunnerCode
public function getDescription() {
return $this
->t('Runs updates always against the latest revision of revisionable entities content.') . ' ' . t('This is useful for modules that allow forward revisioning such as Workbench Moderation.') . ' ' . t('This Update Runner can only be used with revisionable entity types.');
}