CategoryAutocompleteController::__construct

public CategoryAutocompleteController::__construct(BlockManagerInterface $block_manager) Constructs a new CategoryAutocompleteController. Parameters \Drupal\Core\Block\BlockManagerInterface $block_manager: The block manager. File core/modules/block/src/Controller/CategoryAutocompleteController.php, line 30 Class CategoryAutocompleteController Returns autocomplete responses for block categories. Namespace Drupal\block\Controller Code public function __construct(BlockManagerInterface $b

ChainBreadcrumbBuilderInterface::addBuilder

public ChainBreadcrumbBuilderInterface::addBuilder(BreadcrumbBuilderInterface $builder, $priority) Adds another breadcrumb builder. Parameters \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $builder: The breadcrumb builder to add. int $priority: Priority of the breadcrumb builder. File core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php, line 18 Class ChainBreadcrumbBuilderInterface Defines an interface a chained service that builds the breadcrumb. Namespace Drupal\

CategoryAutocompleteController::create

public static CategoryAutocompleteController::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 $containe

ChainBreadcrumbBuilderInterface

Defines an interface a chained service that builds the breadcrumb. Hierarchy interface \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterfaceinterface \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface File core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php, line 8 Namespace Drupal\Core\Breadcrumb Members Name Modifiers Type Description BreadcrumbBuilderInterface::applies public function Whether this breadcrumb builder should be used to build the bread

CategoryAutocompleteController

Returns autocomplete responses for block categories. Hierarchy class \Drupal\block\Controller\CategoryAutocompleteController implements ContainerInjectionInterface File core/modules/block/src/Controller/CategoryAutocompleteController.php, line 15 Namespace Drupal\block\Controller Members Name Modifiers Type Description CategoryAutocompleteController::$blockManager protected property The block manager. CategoryAutocompleteController::autocomplete public function R

CategoryAutocompleteController::autocomplete

public CategoryAutocompleteController::autocomplete(Request $request) Retrieves suggestions for block category autocompletion. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. Return value \Symfony\Component\HttpFoundation\JsonResponse A JSON response containing autocomplete suggestions. File core/modules/block/src/Controller/CategoryAutocompleteController.php, line 52 Class CategoryAutocompleteController Returns autocomplete responses for block categor

callback_allowed_values_function

callback_allowed_values_function(FieldStorageDefinitionInterface $definition, FieldableEntityInterface $entity = NULL, &$cacheable = TRUE) Provide the allowed values for a 'list_*' field. Callback for options_allowed_values(). 'list_*' fields can specify a callback to define the set of their allowed values using the 'allowed_values_function' storage setting. That function will be called: either in the context of a specific entity, which is then provided as the $entity parameter, or for the

callback_batch_finished

callback_batch_finished($success, $results, $operations) Complete a batch process. Callback for batch_set(). This callback may be specified in a batch to perform clean-up operations, or to analyze the results of the batch operations. Parameters $success: A boolean indicating whether the batch has completed successfully. $results: The value set in $context['results'] by callback_batch_operation(). $operations: If $success is FALSE, contains the operations that remained unprocessed. Related topi

CategoryAutocompleteController::$blockManager

The block manager. Type: \Drupal\Core\Block\BlockManagerInterface File core/modules/block/src/Controller/CategoryAutocompleteController.php, line 22 Class CategoryAutocompleteController Returns autocomplete responses for block categories. Namespace Drupal\block\Controller Code protected $blockManager;

callback_batch_operation

callback_batch_operation($MULTIPLE_PARAMS, &$context) Perform a single batch operation. Callback for batch_set(). Parameters $MULTIPLE_PARAMS: Additional parameters specific to the batch. These are specified in the array passed to batch_set(). array|\ArrayAccess $context.: The batch context array, passed by reference. This contains the following properties: 'finished': A float number between 0 and 1 informing the processing engine of the completion level for the operation. 1 (or no value