diff --git a/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php b/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
index b684630..88471a5 100644
--- a/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
+++ b/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
@@ -58,19 +58,17 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition
    * {@inheritdoc}
    */
   public function getContextDefinitions() {
-    $definition = $this->getPluginDefinition();
-    return !empty($definition['context']) ? $definition['context'] : array();
+    return !empty($this->pluginDefinition['context']) ? $this->pluginDefinition['context'] : array();
   }
 
   /**
    * {@inheritdoc}
    */
   public function getContextDefinition($name) {
-    $definition = $this->getPluginDefinition();
-    if (empty($definition['context'][$name])) {
+    if (empty($this->pluginDefinition['context'][$name])) {
       throw new ContextException(sprintf("The %s context is not a valid context.", $name));
     }
-    return $definition['context'][$name];
+    return $this->pluginDefinition['context'][$name];
   }
 
   /**
diff --git a/core/lib/Drupal/Core/Block/BlockBase.php b/core/lib/Drupal/Core/Block/BlockBase.php
index ba1026b..ae481c6 100644
--- a/core/lib/Drupal/Core/Block/BlockBase.php
+++ b/core/lib/Drupal/Core/Block/BlockBase.php
@@ -44,10 +44,9 @@ public function label() {
       return $this->configuration['label'];
     }
 
-    $definition = $this->getPluginDefinition();
     // Cast the admin label to a string since it is an object.
     // @see \Drupal\Core\StringTranslation\TranslationWrapper
-    return (string) $definition['admin_label'];
+    return (string) $this->pluginDefinition['admin_label'];
   }
 
   /**
@@ -159,16 +158,15 @@ protected function blockAccess(AccountInterface $account) {
    * @see \Drupal\Core\Block\BlockBase::blockForm()
    */
   public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
-    $definition = $this->getPluginDefinition();
     $form['provider'] = array(
       '#type' => 'value',
-      '#value' => $definition['provider'],
+      '#value' => $this->pluginDefinition['provider'],
     );
 
     $form['admin_label'] = array(
       '#type' => 'item',
       '#title' => t('Block description'),
-      '#markup' => $definition['admin_label'],
+      '#markup' => $this->pluginDefinition['admin_label'],
     );
     $form['label'] = array(
       '#type' => 'textfield',
@@ -188,7 +186,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
     $period = array(0, 60, 180, 300, 600, 900, 1800, 2700, 3600, 10800, 21600, 32400, 43200, 86400);
     $period = array_map(array(\Drupal::service('date.formatter'), 'formatInterval'), array_combine($period, $period));
     $period[0] = '<' . t('no caching') . '>';
-    $period[\Drupal\Core\Cache\Cache::PERMANENT] = t('Forever');
+    $period[Cache::PERMANENT] = t('Forever');
     $form['cache'] = array(
       '#type' => 'details',
       '#title' => t('Cache settings'),
@@ -292,8 +290,7 @@ public function blockSubmit($form, FormStateInterface $form_state) {}
    * {@inheritdoc}
    */
   public function getMachineNameSuggestion() {
-    $definition = $this->getPluginDefinition();
-    $admin_label = $definition['admin_label'];
+    $admin_label = $this->pluginDefinition['admin_label'];
 
     // @todo This is basically the same as what is done in
     //   \Drupal\system\MachineNameController::transliterate(), so it might make
diff --git a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
index e2d7bd3..74b4109 100644
--- a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
+++ b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
@@ -41,9 +41,8 @@ public function setExecutableManager(ExecutableManagerInterface $executableManag
    *   options, keyed by option name.
    */
   public function getConfigDefinitions() {
-    $definition = $this->getPluginDefinition();
-    if (!empty($definition['configuration'])) {
-      return $definition['configuration'];
+    if (!empty($this->pluginDefinition['configuration'])) {
+      return $this->pluginDefinition['configuration'];
     }
     return array();
   }
@@ -58,9 +57,8 @@ public function getConfigDefinitions() {
    *   if the option does not exist.
    */
   public function getConfigDefinition($key) {
-    $definition = $this->getPluginDefinition();
-    if (!empty($definition['configuration'][$key])) {
-      return $definition['configuration'][$key];
+    if (!empty($this->pluginDefinition['configuration'][$key])) {
+      return $this->pluginDefinition['configuration'][$key];
     }
     return FALSE;
   }
diff --git a/core/lib/Drupal/Core/Field/WidgetBase.php b/core/lib/Drupal/Core/Field/WidgetBase.php
index 38dbe0d..4fe9525 100644
--- a/core/lib/Drupal/Core/Field/WidgetBase.php
+++ b/core/lib/Drupal/Core/Field/WidgetBase.php
@@ -528,8 +528,7 @@ protected function getFieldSetting($setting_name) {
    *   FALSE if multiple values require separate copies of formElement().
    */
   protected function handlesMultipleValues() {
-    $definition = $this->getPluginDefinition();
-    return $definition['multiple_values'];
+    return $this->pluginDefinition['multiple_values'];
   }
 
   /**
diff --git a/core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php b/core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
index c31b4ff..2992744 100644
--- a/core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
+++ b/core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
@@ -112,7 +112,7 @@ public static function create(ContainerInterface $container, array $configuratio
    */
   public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
     $processors = $this->configuration['processors'];
-    $info = $this->getPluginDefinition();
+    $id = $this->getPluginId();
     $counts = array(3, 5, 10, 15, 20, 25);
     $items = array_map(function ($count) {
       return $this->dateFormatter->formatInterval($count, '1 item', '@count items');
@@ -121,18 +121,18 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
     $period = array_map(array($this->dateFormatter, 'formatInterval'), array_combine($intervals, $intervals));
     $period[AGGREGATOR_CLEAR_NEVER] = t('Never');
 
-    $form['processors'][$info['id']] = array();
+    $form['processors'][$id] = array();
     // Only wrap into details if there is a basic configuration.
     if (isset($form['basic_conf'])) {
-      $form['processors'][$info['id']] = array(
+      $form['processors'][$id] = array(
         '#type' => 'details',
         '#title' => t('Default processor settings'),
-        '#description' => $info['description'],
-        '#open' => in_array($info['id'], $processors),
+        '#description' => $this->pluginDefinition['description'],
+        '#open' => in_array($id, $processors),
       );
     }
 
-    $form['processors'][$info['id']]['aggregator_summary_items'] = array(
+    $form['processors'][$id]['aggregator_summary_items'] = array(
       '#type' => 'select',
       '#title' => t('Number of items shown in listing pages'),
       '#default_value' => $this->configuration['source']['list_max'],
@@ -140,7 +140,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
       '#options' => $items,
     );
 
-    $form['processors'][$info['id']]['aggregator_clear'] = array(
+    $form['processors'][$id]['aggregator_clear'] = array(
       '#type' => 'select',
       '#title' => t('Discard items older than'),
       '#default_value' => $this->configuration['items']['expire'],
@@ -153,7 +153,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
       return ($length == 0) ? t('Unlimited') : $this->formatPlural($length, '1 character', '@count characters');
     }, array_combine($lengths, $lengths));
 
-    $form['processors'][$info['id']]['aggregator_teaser_length'] = array(
+    $form['processors'][$id]['aggregator_teaser_length'] = array(
       '#type' => 'select',
       '#title' => t('Length of trimmed description'),
       '#default_value' => $this->configuration['items']['teaser_length'],
diff --git a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php
index c930701..74545da 100644
--- a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php
+++ b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php
@@ -69,16 +69,16 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition
    */
   public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
     $processors = $this->configFactory->get('aggregator.settings')->get('processors');
-    $info = $this->getPluginDefinition();
+    $id = $this->getPluginId();
 
-    $form['processors'][$info['id']] = array(
+    $form['processors'][$id] = array(
       '#type' => 'details',
       '#title' => t('Test processor settings'),
-      '#description' => $info['description'],
-      '#open' => in_array($info['id'], $processors),
+      '#description' => $this->pluginDefinition['description'],
+      '#open' => in_array($id, $processors),
     );
     // Add some dummy settings to verify settingsForm is called.
-    $form['processors'][$info['id']]['dummy_length'] = array(
+    $form['processors'][$id]['dummy_length'] = array(
       '#title' => t('Dummy length setting'),
       '#type' => 'number',
       '#min' => 1,
diff --git a/core/modules/rest/src/Plugin/ResourceBase.php b/core/modules/rest/src/Plugin/ResourceBase.php
index ef16078..d405435 100644
--- a/core/modules/rest/src/Plugin/ResourceBase.php
+++ b/core/modules/rest/src/Plugin/ResourceBase.php
@@ -83,11 +83,10 @@ public static function create(ContainerInterface $container, array $configuratio
    */
   public function permissions() {
     $permissions = array();
-    $definition = $this->getPluginDefinition();
     foreach ($this->availableMethods() as $method) {
       $lowered_method = strtolower($method);
       $permissions["restful $lowered_method $this->pluginId"] = array(
-        'title' => $this->t('Access @method on %label resource', array('@method' => $method, '%label' => $definition['label'])),
+        'title' => $this->t('Access @method on %label resource', array('@method' => $method, '%label' => $this->pluginDefinition['label'])),
       );
     }
     return $permissions;
@@ -99,9 +98,8 @@ public function permissions() {
   public function routes() {
     $collection = new RouteCollection();
 
-    $definition = $this->getPluginDefinition();
-    $canonical_path = isset($definition['uri_paths']['canonical']) ? $definition['uri_paths']['canonical'] : '/' . strtr($this->pluginId, ':', '/') . '/{id}';
-    $create_path = isset($definition['uri_paths']['http://drupal.org/link-relations/create']) ? $definition['uri_paths']['http://drupal.org/link-relations/create'] : '/' . strtr($this->pluginId, ':', '/');
+    $canonical_path = isset($this->pluginDefinition['uri_paths']['canonical']) ? $this->pluginDefinition['uri_paths']['canonical'] : '/' . strtr($this->pluginId, ':', '/') . '/{id}';
+    $create_path = isset($this->pluginDefinition['uri_paths']['http://drupal.org/link-relations/create']) ? $this->pluginDefinition['uri_paths']['http://drupal.org/link-relations/create'] : '/' . strtr($this->pluginId, ':', '/');
 
     $route_name = strtr($this->pluginId, ':', '.');
 
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index b7d0264..18d5e08 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -76,10 +76,9 @@ public function post(EntityInterface $entity = NULL) {
     if (!$entity->access('create')) {
       throw new AccessDeniedHttpException();
     }
-    $definition = $this->getPluginDefinition();
     // Verify that the deserialized entity is of the type that we expect to
     // prevent security issues.
-    if ($entity->getEntityTypeId() != $definition['entity_type']) {
+    if ($entity->getEntityTypeId() != $this->pluginDefinition['entity_type']) {
       throw new BadRequestHttpException('Invalid entity type');
     }
     // POSTed entities must not have an ID set, because we always want to create
@@ -125,8 +124,7 @@ public function patch(EntityInterface $original_entity, EntityInterface $entity
     if ($entity == NULL) {
       throw new BadRequestHttpException('No entity content received.');
     }
-    $definition = $this->getPluginDefinition();
-    if ($entity->getEntityTypeId() != $definition['entity_type']) {
+    if ($entity->getEntityTypeId() != $this->pluginDefinition['entity_type']) {
       throw new BadRequestHttpException('Invalid entity type');
     }
     if (!$original_entity->access('update')) {
@@ -221,10 +219,9 @@ protected function validate(EntityInterface $entity) {
    */
   protected function getBaseRoute($canonical_path, $method) {
     $route = parent::getBaseRoute($canonical_path, $method);
-    $definition = $this->getPluginDefinition();
 
     $parameters = $route->getOption('parameters') ?: array();
-    $parameters[$definition['entity_type']]['type'] = 'entity:' . $definition['entity_type'];
+    $parameters[$this->pluginDefinition['entity_type']]['type'] = 'entity:' . $this->pluginDefinition['entity_type'];
     $route->setOption('parameters', $parameters);
 
     return $route;
diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php
index 831d608..3dc95aa 100644
--- a/core/modules/views/src/Plugin/views/PluginBase.php
+++ b/core/modules/views/src/Plugin/views/PluginBase.php
@@ -422,8 +422,7 @@ public function calculateDependencies() {
    * {@inheritdoc}
    */
   public function getProvider() {
-    $definition = $this->getPluginDefinition();
-    return $definition['provider'];
+    return $this->pluginDefinition['provider'];
   }
 
   /**
