mercury_editor-2.0.x-dev/modules/mercury_editor_templates/src/Entity/MercuryEditorMeTemplateForm.php

modules/mercury_editor_templates/src/Entity/MercuryEditorMeTemplateForm.php
<?php

namespace Drupal\mercury_editor_templates\Entity;

use Drupal\mercury_editor\Entity\MercuryEditorEntityFormTrait;

/**
 * Defines a Mercury Editor form controller for ME templates.
 */
class MercuryEditorMeTemplateForm extends MeTemplateForm {

  use MercuryEditorEntityFormTrait;

  /**
   * {@inheritDoc}
   */
  public function setDefaultEntityValues() {
    $this->entity->label = $this->t('New template');
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc