abstract class AbstractCanViewPermission implements FieldPlugin (View source)

Defines a permission checking plugin for queries. Subclasses just need to provide a resolver function

Methods

public
void
apply(Field $field, Schema $schema, array $config = [])

No description

protected
callable
getPermissionResolver()

No description

Details

void apply(Field $field, Schema $schema, array $config = [])

No description

Parameters

Field $field
Schema $schema
array $config

Return Value

void

abstract protected callable getPermissionResolver()

No description

Return Value

callable