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 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