Kirby\Cli\Command\Plugin::source PHP Method

source() protected method

protected source ( )
    protected function source()
    {
        switch ($this->type()) {
            case 'plugin':
            case 'field':
                return $this->tmp;
                break;
            case 'tag':
                return $this->tmp . '/' . $this->name() . '.php';
                break;
        }
    }