You are here

ParagraphsSetInterface.php in Paragraphs Sets 8

Same filename and directory in other branches
  1. 8.2 src/ParagraphsSetInterface.php

File

src/ParagraphsSetInterface.php
View source
<?php

namespace Drupal\paragraphs_sets;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining a ParagraphsSet entity.
 */
interface ParagraphsSetInterface extends ConfigEntityInterface {

  /**
   * Gets the description.
   *
   * @return string
   *   The description of this paragraph set.
   */
  public function getDescription();

  /**
   * Get the list of paragraphs in the set.
   *
   * @return array
   *   The paragraphs data of this paragraph set.
   */
  public function getParagraphs();

}

Interfaces

Namesort descending Description
ParagraphsSetInterface Provides an interface defining a ParagraphsSet entity.