---
title: "context-platform"
description: "Optimize your platform configuration by modifying context menu items without affecting others. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/developers/ui-dev/evaluators/context-platform"
---

# context-platform

If the Platform or things within a Platform are being observed (as opposed to a Project or things within a Project).

```
{
    "evaluator": "context-platform"
}
```

## Example

This configuration, taken from the [Configuration](/documentation/gitana/4.0/developers/ui-dev/configuration.md) docs, removes the `platform/developers` section from the platform context menu. The element is spliced out of the `items` array; other items in the array are not affected.

```
{
    "config": {
        "blocks": [
            {
                "evaluator": "context-platform",
                "config": {
                    "context": {
                        "items": [
                            {
                                "key": "platform/developers",
                                "remove": true
                            }
                        ]
                    }
                }
            }
        ]
    }
}
```

## See also

- [Configuration](/documentation/gitana/4.0/developers/ui-dev/configuration.md)
- [context-project](/documentation/gitana/4.0/developers/ui-dev/evaluators/context-project.md)
