Configuration/FormConfigurationFactory.php
private function getCollectionIdByDynamic(Dynamic $dynamic)
    {
        $form = $dynamic->getForm();

        return $this->collectionStrategy->getCollectionId(
            $form->getId(),
            $form->getTranslation($dynamic->getLocale(), false, true)->getTitle(),
            $dynamic->getType(),
            $dynamic->getTypeId(),
            $dynamic->getLocale()
        );
    }
private function getCollectionIdByDynamic(Dynamic $dynamic)
    {
        $form = $dynamic->getForm();

        return $this->collectionStrategy->getCollectionId(
            $form->getId(),
            $form->getTranslation($dynamic->getLocale(), false, true)->getTitle(),
            $dynamic->getType(),
            $dynamic->getTypeId(),
            $dynamic->getLocale()
        );
    }
Get collection id by dynamic.

@param Dynamic $dynamic

@return array|int