Form controller for the job item edit forms.
Expanded class hierarchy of TmgmtFormBase
class TmgmtFormBase extends ContentEntityForm {
/**
* Translator plugin manager.
*
* @var \Drupal\tmgmt\TranslatorManager
*/
protected $translatorManager;
/**
* Source plugin manager.
*
* @var \Drupal\tmgmt\SourceManager
*/
protected $sourceManager;
/**
* Renderer.
*
* @var \Drupal\Core\Render\RendererInterface
*/
protected $renderer;
/**
* The date formatter.
*
* @var \Drupal\Core\Datetime\DateFormatterInterface
*/
protected $dateFormatter;
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
$form = parent::create($container);
$form->translatorManager = $container
->get('plugin.manager.tmgmt.translator');
$form->sourceManager = $container
->get('plugin.manager.tmgmt.source');
$form->renderer = $container
->get('renderer');
$form->dateFormatter = $container
->get('date.formatter');
return $form;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TmgmtFormBase:: |
protected | property | The date formatter. | |
TmgmtFormBase:: |
protected | property | Renderer. | |
TmgmtFormBase:: |
protected | property | Source plugin manager. | |
TmgmtFormBase:: |
protected | property | Translator plugin manager. | |
TmgmtFormBase:: |
public static | function | 1 |