interface BlockFieldManagerInterface in Block field 8
Provides an interface defining a BLock field manager.
Hierarchy
- interface \Drupal\block_field\BlockFieldManagerInterface
Expanded class hierarchy of BlockFieldManagerInterface
All classes that implement BlockFieldManagerInterface
File
- src/
BlockFieldManagerInterface.php, line 8
Namespace
Drupal\block_fieldView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlockFieldManagerInterface:: |
public | function | Get list of all block categories. | 1 |
BlockFieldManagerInterface:: |
public | function | Get sorted listed of supported block definitions. | 1 |