app\models\Menu::isEditable PHP Метод

isEditable() публичный Метод

public isEditable ( ) : boolean
Результат boolean
    public function isEditable()
    {
        // Protect the root menu from deletion
        if ('root' == $this->name) {
            return false;
        }
        return true;
    }