component_schema-1.0.x-dev/src/Component/Schema/TypedComponentVariableInterface.php

src/Component/Schema/TypedComponentVariableInterface.php
<?php

namespace Drupal\component_schema\Component\Schema;

use Drupal\Core\Template\Attribute;
use Drupal\Core\TypedData\TypedDataInterface;

/**
 * Interface for typed component data objects.
 */
interface TypedComponentVariableInterface extends TypedDataInterface {

  /**
   * The name of a property for the attribute data type.
   */
  const ATTRIBUTES_PROPERTY_NAME = 'attributes';

  /**
   * Initializes a value.
   *
   * @param mixed &$value
   *   A component variable value.
   */
  public function initializeValue(&$value);

}

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

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