public static function WebformArrayHelper::isSequential in Webform 8.5
Same name and namespace in other branches
- 6.x src/Utility/WebformArrayHelper.php \Drupal\webform\Utility\WebformArrayHelper::isSequential()
Determine if an array is a sequential array.
Parameters
array $array: An array.
Return value
bool TRUE if array is a sequential array.
7 calls to WebformArrayHelper::isSequential()
- WebformArrayHelper::removeValue in src/
Utility/ WebformArrayHelper.php - Remove value from an array.
- WebformEntityConditionsManager::buildConditionItem in src/
WebformEntityConditionsManager.php - Convert a condition's select, trigger, and value into a human read-able format.
- WebformEntityConditionsManager::buildConditions in src/
WebformEntityConditionsManager.php - Convert a webform's conditions into a human read-able format.
- WebformSubmissionConditionsValidator::getConditionTargetsVisibilityRecursive in src/
WebformSubmissionConditionsValidator.php - Recursively collect a conditions targets.
- WebformSubmissionConditionsValidator::replaceCrossPageTargets in src/
WebformSubmissionConditionsValidator.php - Replace hidden cross page targets with hidden inputs.
File
- src/
Utility/ WebformArrayHelper.php, line 84
Class
- WebformArrayHelper
- Provides helper to operate on arrays.
Namespace
Drupal\webform\UtilityCode
public static function isSequential(array $array) {
return !self::isAssociative($array);
}