You are here

protected function SimpleSitemapViews::convertArgumentsStringToArray in Simple XML sitemap (Views integration) 8

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 src/SimpleSitemapViews.php
Get arguments from index.

File

src/SimpleSitemapViews.php, line 342
Contains simple_sitemap_views service.

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);
}