closedquestion-8.x-3.x-dev/src/Entity/ClosedQuestionAnswerInterface.php

src/Entity/ClosedQuestionAnswerInterface.php
<?php

namespace Drupal\closedquestion\Entity;

use Drupal\user\EntityOwnerInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\Core\Entity\ContentEntityInterface;

/**
 * Provides an interface defining an answer entity.
 */
interface ClosedQuestionAnswerInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {

  /**
   * Gets the closed question creation timestamp.
   *
   * @return int
   *   Creation timestamp of the closed question.
   */
  public function getCreatedTime();

  /**
   * Sets the closed question creation timestamp.
   *
   * @param int $timestamp
   *   The closed question creation timestamp.
   *
   * @return \Drupal\closedquestion\Entity\ClosedQuestionAnswerInterface
   *   The called closed question entity.
   */
  public function setCreatedTime($timestamp);

}

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

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