From ff6e1eea6ea2b2b343a4e03e172e6f5a05079dcb Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Thu, 16 May 2013 11:03:05 +0100 Subject: [PATCH] Issue #1992302 by larowlan: Fixed CustomBlock bundle() and id() needlessly rely on EntityNG getters . --- .../Plugin/Core/Entity/CustomBlock.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php index 3c1dce662dfa..deabda4467a7 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php @@ -120,20 +120,6 @@ class CustomBlock extends EntityNG implements CustomBlockInterface { */ protected $theme; - /** - * {@inheritdoc} - */ - public function id() { - return $this->id->value; - } - - /** - * {@inheritdoc} - */ - public function bundle() { - return $this->type->value; - } - /** * {@inheritdoc} */ -- GitLab