getFieldCriteria($this->schema->type()); // The link field is dependent on this field to build the url. if (parent::shouldSelect($query, $schema)) { return true; } return $criteria->isAllowedField(Image::ATTRIBUTE_LINK); } }