bricks-2.x-dev/src/BricksFieldItemInterface.php

src/BricksFieldItemInterface.php
<?php

namespace Drupal\bricks;

use Drupal\Core\Field\FieldItemInterface;

interface BricksFieldItemInterface extends FieldItemInterface {

  /**
   * @return int
   *   The depth.
   */
  public function getDepth();

  /**
   * @param int $depth
   *   The depth.
   */
  public function setDepth(int $depth);

  /**
   * @param $option
   *   The name of the option.
   * @param null $default
   *   The default.
   *
   * @return mixed
   *   The value of the option.
   */
  public function getOption($option, $default = NULL);
}

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

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