1 redirect.class.inc | public Redirect::isNew() |
Returns if this redirect is newly created and not yet saved.
File
- core/
modules/ redirect/ redirect.class.inc, line 155
Class
- Redirect
- Provides a HTTP redirect from one Backdrop internal path to another.
Code
public function isNew() {
return !empty($this->is_new) || !$this->rid;
}