---
id: selfFILTER_ALLOWED
title: "Filter - self::FILTER_ALLOWED"
sidebar_label: "self::FILTER_ALLOWED"
---

# Filter: self::FILTER_ALLOWED

Filters whether GravityView may load one of its bundled features.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $allowed | `bool` | Whether to load it. Default: true. |
| $key | `string` | Feature key, for example 'datatables'. |

### Since

- TBD: TBD

### Source

Defined in `src/Features/FeatureLoader.php` at line 324

