src/Entities/Rendition.php
public function save() {
    if (!isset($this->name)) {
      return false;
    }
    if (
        class_exists('\Tilmeld\Tilmeld')
        && !\Tilmeld\Tilmeld::gatekeeper('umailphp/admin')
      ) {
      return false;
    }
    return parent::save();
  }
public function save() {
    if (!isset($this->name)) {
      return false;
    }
    if (
        class_exists('\Tilmeld\Tilmeld')
        && !\Tilmeld\Tilmeld::gatekeeper('umailphp/admin')
      ) {
      return false;
    }
    return parent::save();
  }
public function save ( ) { if ( ! isset ( $ this -> name ) ) { return false ; } if ( class_exists ( '\Tilmeld\Tilmeld' ) && ! \ Tilmeld \ Tilmeld :: gatekeeper ( 'umailphp/admin' ) ) { return false ; } return parent :: save ( ) ; }
Save the rendition.
@return bool True on success, false on failure.
Save the rendition .