You are here

interface BlockFieldManagerInterface in Block field 8

Provides an interface defining a BLock field manager.

Hierarchy

Expanded class hierarchy of BlockFieldManagerInterface

All classes that implement BlockFieldManagerInterface

File

src/BlockFieldManagerInterface.php, line 8

Namespace

Drupal\block_field
View source
interface BlockFieldManagerInterface {

  /**
   * Get sorted listed of supported block definitions.
   *
   * @return array
   *   An associative array of supported block definitions.
   */
  public function getBlockDefinitions();

  /**
   * Get list of all block categories.
   *
   * @return string[]
   *   A numerically indexed array of block categories.
   */
  public function getBlockCategories();

}

Members

Namesort descending Modifiers Type Description Overrides
BlockFieldManagerInterface::getBlockCategories public function Get list of all block categories. 1
BlockFieldManagerInterface::getBlockDefinitions public function Get sorted listed of supported block definitions. 1