$this->derivatives[$key] = $base_plugin_definition;
$this->derivatives[$key]['title'] = $title;
$this->derivatives[$key]['route_parameters'] = ['placeholder' => $key];
- $this->derivatives[$key]['weight'] = $weight++; // ensure weights for testing.
+ // Ensure weights for testing.
+ $this->derivatives[$key]['weight'] = $weight++;
}
return $this->derivatives;
}