BlockContentTypeInterface::getDescription

public BlockContentTypeInterface::getDescription() Returns the description of the block type. Return value string The description of the type of this block. File core/modules/block_content/src/BlockContentTypeInterface.php, line 18 Class BlockContentTypeInterface Provides an interface defining a custom block type entity. Namespace Drupal\block_content Code public function getDescription();

BlockContentTypeInterface

Provides an interface defining a custom block type entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\block_content\BlockContentTypeInterface File core/modules/block_content/src/BlockContentTypeInterface.php, line 10 Namespace Drupal\block_content Members Name Modifiers Type Description AccessibleInterface::access public

BlockContentTypeForm::save

public BlockContentTypeForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the

BlockContentTypeForm::form

public BlockContentTypeForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/block_content/src/BlockContentTypeForm.php, line 18 Class BlockContentTypeForm Base form for category edit forms. Namespace Drupal\block_content Code public function form(array $form, FormStateInterface $form_state) { $form

BlockContentTypeForm

Base form for category edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\BundleEntityFormBaseclass \Drupal\block_content\BlockContentTypeForm File core/modules/block_content/src/BlockContentTypeForm.

BlockContentTypeDeleteForm::__construct

public BlockContentTypeDeleteForm::__construct(QueryFactory $query_factory) Constructs a query factory object. Parameters \Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query object. File core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php, line 28 Class BlockContentTypeDeleteForm Provides a confirmation form for deleting a custom block type entity. Namespace Drupal\block_content\Form Code public function __construct(QueryFactory $query_factory) { $

BlockContentTypeDeleteForm::create

public static BlockContentTypeDeleteForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: T

BlockContentTypeDeleteForm::buildForm

public BlockContentTypeDeleteForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides EntityDeleteForm::buildForm File core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php, line 44 Class BlockContentTypeDeleteForm Provides a confirmation form

BlockContentTypeDeleteForm::$queryFactory

The query factory to create entity queries. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php, line 20 Class BlockContentTypeDeleteForm Provides a confirmation form for deleting a custom block type entity. Namespace Drupal\block_content\Form Code public $queryFactory;

BlockContentTypeDeleteForm

Provides a confirmation form for deleting a custom block type entity. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm u