blacksmith-8.x-1.x-dev/src/Blacksmith/EntityImporter/FieldFormatter/FieldFormatterInterface.php

src/Blacksmith/EntityImporter/FieldFormatter/FieldFormatterInterface.php
<?php

namespace Drupal\blacksmith\Blacksmith\EntityImporter\FieldFormatter;

/**
 * Interface FieldImporterInterface.
 *
 * @package Drupal\blacksmith\Blacksmith\EntityImporter\FieldFormatter
 */
interface FieldFormatterInterface {

  /**
   * Edit the value from the Yaml file and transform it to save in the database.
   *
   * @param array|string $values
   *   Value from the Blacksmith file.
   *
   * @return mixed
   *   The value to save in the database.
   */
  public function format($values);

}

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

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