public function createResourceMenuConfiguration()
    {
        $menuConfiguration = [];

        foreach ($this->resourceCollection->all() as $resource) {
            $resourceConfiguration = $resource->getConfiguration();

            // Add only entry for the "list" action
            if (
                !key_exists('actions', $resourceConfiguration) ||
                null === $resourceConfiguration['actions'] ||
                !array_key_exists('list', $resourceConfiguration['actions'])
            ) {
                continue;
            }
            $menuConfiguration['items'][] = [
                'text' => ucfirst($resource->getName()),
                'admin' => $resource->getName(),
                'action' => 'list',
            ];
        }

        return $menuConfiguration;
    }