You are here

interface EntityBundlePluginValidableInterface in Entity bundle plugin 7

This plugin implements a validation method for instantiation.

Hierarchy

Expanded class hierarchy of EntityBundlePluginValidableInterface

All classes that implement EntityBundlePluginValidableInterface

1 string reference to 'EntityBundlePluginValidableInterface'
entity_bundle_plugin_rebuild_fields in ./entity_bundle_plugin.module
Rebuild the fields for a given entity type.

File

./entity_bundle_plugin.controller.inc, line 106
Entity base controller for EntityBundlePlugin.

View source
interface EntityBundlePluginValidableInterface {

  /**
   * Defines is this plugin may be used as the bundle for an entity.
   *
   * It is meant to be use when the ability to use the plugin as a
   * bundle depends on run-time information, like the availability of
   * a given module.
   *
   * @return bool
   *   Is the plugin usable as a bundle ?
   */
  public static function isValid();

}

Members

Namesort descending Modifiers Type Description Overrides
EntityBundlePluginValidableInterface::isValid public static function Defines is this plugin may be used as the bundle for an entity.