/**
  * {@inheritdoc}
  */
 public function getData()
 {
     $data = parent::getData();
     $data['translatable_locale'] = $this->localeManager->getLocale();
     return $data;
 }
Пример #2
0
 /**
  * @param HandlerInterface[]|array $requestHandlers
  * @param string $formTemplate
  */
 public function __construct(array $requestHandlers, $formTemplate)
 {
     parent::__construct($requestHandlers);
     $this->formTemplate = $formTemplate;
 }