diff --git a/core/modules/media/src/MediaForm.php b/core/modules/media/src/MediaForm.php index b5e8717..3766950 100644 --- a/core/modules/media/src/MediaForm.php +++ b/core/modules/media/src/MediaForm.php @@ -53,19 +53,6 @@ public function form(array $form, FormStateInterface $form_state) { } /** - * {@inheritdoc} - */ - protected function actions(array $form, FormStateInterface $form_state) { - $element = parent::actions($form, $form_state); - $media = $this->entity; - - $element['delete']['#access'] = $media->access('delete'); - $element['delete']['#weight'] = 100; - - return $element; - } - - /** * Entity builder updating the media status with the submitted value. * * @param string $entity_type_id