You are here

protected function SimpleSitemapViews::convertArgumentsStringToArray in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x 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 598

Class

SimpleSitemapViews
Class to manage sitemap data for views.

Namespace

Drupal\simple_sitemap_views

Code

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