devel_wizard-2.x-dev/templates/spell/entity_type/config/interface.php.twig

templates/spell/entity_type/config/interface.php.twig
{%
  include '@devel_wizard/php/devel_wizard.php.file.header.php.twig'
  with {
    'namespace': module.namespace,
  }
%}

use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\EntityDescriptionInterface;
{% if goal == 'bundleable' %}
use Drupal\Core\Entity\RevisionableEntityBundleInterface;
{% endif %}

interface {{ config.interface }} extends ConfigEntityInterface, EntityDescriptionInterface{% if goal == 'bundleable' %}, RevisionableEntityBundleInterface{% endif %} {
}

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

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