BlockContentTypeInterface.php 500 B

123456789101112131415161718192021
  1. <?php
  2. namespace Drupal\block_content;
  3. use Drupal\Core\Config\Entity\ConfigEntityInterface;
  4. use Drupal\Core\Entity\RevisionableEntityBundleInterface;
  5. /**
  6. * Provides an interface defining a custom block type entity.
  7. */
  8. interface BlockContentTypeInterface extends ConfigEntityInterface, RevisionableEntityBundleInterface {
  9. /**
  10. * Returns the description of the block type.
  11. *
  12. * @return string
  13. * The description of the type of this block.
  14. */
  15. public function getDescription();
  16. }