function BlockManager::handlePluginNotFound

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::handlePluginNotFound()
  2. 10 core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::handlePluginNotFound()
  3. 11.x core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::handlePluginNotFound()

Overrides PluginManagerBase::handlePluginNotFound

File

core/lib/Drupal/Core/Block/BlockManager.php, line 91

Class

BlockManager
Manages discovery and instantiation of block plugins.

Namespace

Drupal\Core\Block

Code

protected function handlePluginNotFound($plugin_id, array $configuration) {
    $this->logger
        ->warning('The "%plugin_id" was not found', [
        '%plugin_id' => $plugin_id,
    ]);
    return parent::handlePluginNotFound($plugin_id, $configuration);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.