You are here

public static function EntityBundlePluginValidableInterface::isValid in Entity bundle plugin 7

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 value

bool Is the plugin usable as a bundle ?

File

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

Class

EntityBundlePluginValidableInterface
This plugin implements a validation method for instantiation.

Code

public static function isValid();