Skip to content

Module strings should be namespaced constants #8

@13rac1

Description

@13rac1

The module specific strings in this module should be namespaced constants at the top of the module.

Example:

define('REQUIRE_TO_PUB_REQUIRED', 'required');

Source in module:
https://github.com/chapter-three/require-to-publish/blob/master/required_for_pub.module#L66

Example in Drupal LDAP module:
http://drupalcode.org/project/ldap.git/blob/refs/heads/7.x-2.x:/ldap_servers/ldap_servers.module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions