You are here

protected function SimpleSitemapViews::convertArgumentsStringToArray 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::convertArgumentsStringToArray()

Converts a string with arguments to an array.

Parameters

string $args: A string representation of the arguments to convert.

Return value

array Array of arguments.

1 call to SimpleSitemapViews::convertArgumentsStringToArray()
SimpleSitemapViews::getArgumentsFromIndex in modules/simple_sitemap_views/src/SimpleSitemapViews.php
Get arguments from index.

File

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

Class

SimpleSitemapViews
Class to manage sitemap data for views.

Namespace

Drupal\simple_sitemap_views

Code

protected function convertArgumentsStringToArray($args) : array {
  return explode(self::ARGUMENT_SEPARATOR, $args);
}