Airship\Cabin\Bridge\Landing\Files::airshipLand PHP Method

airshipLand() public method

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )
    public function airshipLand()
    {
        parent::airshipLand();
        if (!$this->isSuperUser()) {
            \Airship\redirect($this->airship_cabin_prefix);
        }
        $this->path_middle = 'file_manager';
        $userId = $this->getActiveUserId();
        $this->attribution = ['author' => null, 'uploaded_by' => $userId];
        $this->storeLensVar('path_middle', $this->path_middle);
        $this->storeLensVar('header', 'Files');
    }