Skip to content

adapting to EE3 #1

@Bronskiy

Description

@Bronskiy

Hi!
You need to create addon.setup.php file with content:

<?php
return array(
'author' => 'David Dexter',
'author_url' => 'http://codesly.com',
'description' => 'Creates a simple snippet from a block of text. Please report any issues to https://github.com/dpdexter/snippet/issues',
'name' => 'Snippet',
'namespace' => 'Snippet',
'version' => '3'
);

and remove this from pi.snippet.php:

$plugin_info = array(
                    'pi_name'           => 'Snippet',
                    'pi_version'        => '2.3.1',
                    'pi_author'         => 'David Dexter',
                    'pi_author_url'     => 'http://codesly.com/',
                    'pi_description'    => 'Creates a simple snippet from a block of text. Please report any issues to https://github.com/dpdexter/snippet/issues',
                    'pi_usage'          => snippet::usage()
                );

this is it
Tested on 3.0.1. All working fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions