summaryrefslogtreecommitdiffstats
path: root/core/modules/block/block.module
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/block.module')
-rw-r--r--core/modules/block/block.module16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/modules/block/block.module b/core/modules/block/block.module
index 88b6ecc..37b93bd 100644
--- a/core/modules/block/block.module
+++ b/core/modules/block/block.module
@@ -6,7 +6,6 @@
*/
use Drupal\block\BlockInterface;
-use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\language\Entity\Language;
use Drupal\system\Entity\Menu;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
@@ -296,21 +295,6 @@ function block_list($region) {
}
/**
- * Loads a block instance.
- *
- * This should only be used when entity_load() cannot be used directly.
- *
- * @param string $entity_id
- * The block ID.
- *
- * @return \Drupal\block\Entity\Block
- * The loaded block object.
- */
-function block_load($entity_id) {
- return entity_load('block', $entity_id);
-}
-
-/**
* Implements hook_rebuild().
*/
function block_rebuild() {