Commit 28cf8aa9 authored by alexpott's avatar alexpott

Issue #2056685 by janstoeckler: Remove Unused local variable $plugin_id from...

Issue #2056685 by janstoeckler: Remove Unused local variable $plugin_id from /core/modules/language/lib/Drupal/language/Plugin/Block/LanguageBlock.php.
parent 353dcd93
......@@ -36,7 +36,7 @@ function access() {
public function build() {
$build = array();
$path = drupal_is_front_page() ? '<front>' : current_path();
list($plugin_id, $type) = explode(':', $this->getPluginId());
list(, $type) = explode(':', $this->getPluginId());
$links = language_negotiation_get_switch_links($type, $path);
if (isset($links->links)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment