public static function StringHelper::propCase in GraphQL 8.3
Turn a list of machine names into a property-cased string.
Return value
string A camel-cased concatenation of the input components.
8 calls to StringHelper::propCase()
- ContextDeriver::getDerivativeDefinitions in modules/
graphql_core/ src/ Plugin/ Deriver/ Fields/ ContextDeriver.php - Gets the definition of all derivatives of a base plugin.
- EntityByIdDeriver::getDerivativeDefinitions in modules/
graphql_core/ src/ Plugin/ Deriver/ Fields/ EntityByIdDeriver.php - Gets the definition of all derivatives of a base plugin.
- EntityFieldDeriver::getDerivativeDefinitionsFromFieldDefinition in modules/
graphql_core/ src/ Plugin/ Deriver/ Fields/ EntityFieldDeriver.php - Provides plugin definition values from fields.
- EntityFieldItemDeriver::getDerivativeDefinitionsFromFieldDefinition in modules/
graphql_core/ src/ Plugin/ Deriver/ Fields/ EntityFieldItemDeriver.php - Provides plugin definition values from fields.
- EntityQueryDeriver::getDerivativeDefinitions in modules/
graphql_core/ src/ Plugin/ Deriver/ Fields/ EntityQueryDeriver.php - Gets the definition of all derivatives of a base plugin.
File
- src/
Utility/ StringHelper.php, line 50
Class
Namespace
Drupal\graphql\UtilityCode
public static function propCase() {
$result = call_user_func_array([
static::class,
'camelCase',
], func_get_args());
return ctype_upper($result) ? strtolower($result) : lcfirst($result);
}