public static function buildBasicRenderable($view_id,
$display_id, array
$args =
[], Route
$route = NULL
) { $build = parent::
buildBasicRenderable($view_id,
$display_id,
$args);
if ($route) { $build['#view_id'
] =
$route->
getDefault('view_id'
);
$build['#view_display_plugin_id'
] =
$route->
getOption('_view_display_plugin_id'
);
$build['#view_display_show_admin_links'
] =
$route->
getOption('_view_display_show_admin_links'
);
} else { throw new \
BadFunctionCallException('Missing route parameters.'
);
} return $build;
} /**
* {@inheritdoc}
*/
public function execute() { parent::
execute();