You are here

interface CloudBlockInterface in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 modules/gutenberg_cloud/src/CloudBlockInterface.php \Drupal\gutenberg_cloud\CloudBlockInterface

Interface for cloud block classes.

Hierarchy

Expanded class hierarchy of CloudBlockInterface

All classes that implement CloudBlockInterface

1 file declares its use of CloudBlockInterface
BlockManagerForm.php in modules/gutenberg_cloud/src/Form/BlockManagerForm.php

File

modules/gutenberg_cloud/src/CloudBlockInterface.php, line 8

Namespace

Drupal\gutenberg_cloud
View source
interface CloudBlockInterface {

  /**
   * Getter for name.
   */
  public function getName();

  /**
   * Getter for version.
   */
  public function getVersion();

  /**
   * Getter for label.
   */
  public function getLabel();

  /**
   * Getter for description.
   */
  public function getDescription();

  /**
   * Getter for screenshot.
   */
  public function getScreenshot();

  /**
   * Getter for js.
   */
  public function getJs();

  /**
   * Getter for edit css.
   */
  public function getEditCss();

  /**
   * Getter for view css.
   */
  public function getViewCss();

  /**
   * Getter for object properties.
   *
   * @param string $property
   *   Property name.
   *
   * @return mixed|null
   *   Properety value or NULL if property doesn't exists.
   */
  public function get(string $property);

  /**
   * Getter for properties related to Cloud Block config.
   *
   * @return array
   *   Array of properties.
   */
  public function getConfig();

}

Members

Namesort descending Modifiers Type Description Overrides
CloudBlockInterface::get public function Getter for object properties. 1
CloudBlockInterface::getConfig public function Getter for properties related to Cloud Block config. 1
CloudBlockInterface::getDescription public function Getter for description. 1
CloudBlockInterface::getEditCss public function Getter for edit css. 1
CloudBlockInterface::getJs public function Getter for js. 1
CloudBlockInterface::getLabel public function Getter for label. 1
CloudBlockInterface::getName public function Getter for name. 1
CloudBlockInterface::getScreenshot public function Getter for screenshot. 1
CloudBlockInterface::getVersion public function Getter for version. 1
CloudBlockInterface::getViewCss public function Getter for view css. 1