src/components/AdminMenuBuilder.php
protected function verifyOptions(array $options = [])
    {
        foreach ($options as $key => $value) {
            if (!in_array($key, static::$options)) {
                unset($options[$key]);
            }
        }
        
        return $options;
    }
protected function verifyOptions(array $options = [])
    {
        foreach ($options as $key => $value) {
            if (!in_array($key, static::$options)) {
                unset($options[$key]);
            }
        }
        
        return $options;
    }
protected function verifyOptions ( array $ options = [ ] ) { foreach ( $ options as $ key => $ value ) { if ( ! in_array ( $ key , static :: $ options ) ) { unset ( $ options [ $ key ] ) ; } } return $ options ; }
Verify the additional options of an itemRoute or itemApi item.

The following options are currently supported

- hiddenInMenu: If set to true the item will be hidden in the left menu, this is usefull when creating ngrest crud's for crud-realtion views.

@param array $options The options to verify
@return array The verified allowed options.
Verify the additional options of an itemRoute or itemApi item .