You are here

protected function SimpleSitemapViews::convertArgumentsArrayToString in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 modules/simple_sitemap_views/src/SimpleSitemapViews.php \Drupal\simple_sitemap_views\SimpleSitemapViews::convertArgumentsArrayToString()

Converts an array of arguments to a string.

Parameters

array $args: Array of arguments to convert.

Return value

string A string representation of the arguments.

2 calls to SimpleSitemapViews::convertArgumentsArrayToString()
SimpleSitemapViews::addArgumentsToIndexByVariant in modules/simple_sitemap_views/src/SimpleSitemapViews.php
Adds view arguments to the index by the sitemap variant.
SimpleSitemapViews::getArgumentsStringVariations in modules/simple_sitemap_views/src/SimpleSitemapViews.php
Get variations for string representation of arguments.

File

modules/simple_sitemap_views/src/SimpleSitemapViews.php, line 587

Class

SimpleSitemapViews
Class to manage sitemap data for views.

Namespace

Drupal\simple_sitemap_views

Code

protected function convertArgumentsArrayToString(array $args) : string {
  return implode(self::ARGUMENT_SEPARATOR, $args);
}