Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules
ScalarLeafs::requiredSubselectionMessage
Method of the class: ScalarLeafs{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = ScalarLeafs::requiredSubselectionMessage( $field, $type ): string;
- $field(string) (required)
- .
- $type(string) (required)
- .
ScalarLeafs::requiredSubselectionMessage() ScalarLeafs::requiredSubselectionMessage code WC 10.9.1
public static function requiredSubselectionMessage(string $field, string $type): string
{
return "Field \"{$field}\" of type \"{$type}\" must have a sub selection.";
}