src/Models/CmsModel.php
public function getCmsSpecialRelationType($relation)
    {
        if (    ! array_key_exists($relation, $this->relationsConfig)
            ||  ! array_key_exists('type', $this->relationsConfig[$relation])
        ) {
            return null;
        }

        return $this->relationsConfig[ $relation ]['type'];
    }
public function getCmsSpecialRelationType($relation)
    {
        if (    ! array_key_exists($relation, $this->relationsConfig)
            ||  ! array_key_exists('type', $this->relationsConfig[$relation])
        ) {
            return null;
        }

        return $this->relationsConfig[ $relation ]['type'];
    }
public function getCmsSpecialRelationType ( $ relation ) { if ( ! array_key_exists ( $ relation , $ this -> relationsConfig ) || ! array_key_exists ( 'type' , $ this -> relationsConfig [ $ relation ] ) ) { return null ; } return $ this -> relationsConfig [ $ relation ] [ 'type' ] ; }
Returns the configured special standard model type for the reference relation

@param string $relation
@return string|null
Returns the configured special standard model type for the reference relation