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