content_sync-8.x-2.x-dev/src/Exporter/ContentExporterInterface.php

src/Exporter/ContentExporterInterface.php
<?php

namespace Drupal\content_sync\Exporter;


use Drupal\Core\Entity\ContentEntityInterface;

interface ContentExporterInterface {

  /**
   * Exports the given entity.
   *
   * @param \Drupal\Core\Entity\ContentEntityInterface $entity
   *   The entity to export.
   * @param array $context
   *   The context to be passed to the serializer.
   *
   * @return string
   *   The serializer entity.
   */
  public function exportEntity(ContentEntityInterface $entity, array $context = []);
}

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

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