public static function YamlFormArrayHelper::getNextKey in YAML Form 8
Get the next key in an array.
Parameters
array $array: An array.
string $key: A key.
Return value
string|null The next key in an array or NULL is there is no next key.
1 call to YamlFormArrayHelper::getNextKey()
- YamlFormSubmissionForm::getNextPage in src/
YamlFormSubmissionForm.php - Get next page's key.
File
- src/
Utility/ YamlFormArrayHelper.php, line 127
Class
- YamlFormArrayHelper
- Provides helper to operate on arrays.
Namespace
Drupal\yamlform\UtilityCode
public static function getNextKey(array $array, $key) {
return self::getKey($array, $key, 'next');
}