Issue #3106272 by pratik_kamble, Hardik_Patel_12, longwave, naresh_bavaskar: Remove unused variable from DateFormatFormBase
parent
6d0430d170
commit
d33f375327
|
@ -7,7 +7,6 @@ use Drupal\Core\Datetime\DateFormatterInterface;
|
|||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Language\LanguageInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Drupal\Core\Datetime\DrupalDateTime;
|
||||
use Drupal\Core\Entity\EntityForm;
|
||||
|
||||
/**
|
||||
|
@ -38,8 +37,6 @@ abstract class DateFormatFormBase extends EntityForm {
|
|||
* The date format storage.
|
||||
*/
|
||||
public function __construct(DateFormatterInterface $date_formatter, ConfigEntityStorageInterface $date_format_storage) {
|
||||
$date = new DrupalDateTime();
|
||||
|
||||
$this->dateFormatter = $date_formatter;
|
||||
$this->dateFormatStorage = $date_format_storage;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue