code/Forms/FormMessageBootstrapAdapter.php
public function getAlertType()
    {
        $type = $this->owner->getMessageType();

        if (isset($this->bootstrapAlertsMap[$type])) {
            return $this->bootstrapAlertsMap[$type];
        }

        // Fallback to original
        return $type;
    }
public function getAlertType()
    {
        $type = $this->owner->getMessageType();

        if (isset($this->bootstrapAlertsMap[$type])) {
            return $this->bootstrapAlertsMap[$type];
        }

        // Fallback to original
        return $type;
    }
public function getAlertType ( ) { $ type = $ this -> owner -> getMessageType ( ) ; if ( isset ( $ this -> bootstrapAlertsMap [ $ type ] ) ) { return $ this -> bootstrapAlertsMap [ $ type ] ; } // Fallback to original return $ type ; }
Maps a SilverStripe message type to a Bootstrap alert type

{@inheritdoc}
Maps a SilverStripe message type to a Bootstrap alert type