function hook_bundle_create

3.x tripal.entities.api.inc hook_bundle_create(&$bundle, $storage_args)

Allows a module to perform tasks after a TripalBundle object is created.

Parameters

$bundle: The newly created TripalBundle object.

$storage_args: Arguments passed to the storage backend for this bundle. These arguments typically provide details for how to associate this bundle with records in the storage system. Each storage system will have its own set of arguments that it will expect.

Related topics

2 functions implement hook_bundle_create()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

tripal_bundle_create in tripal/includes/tripal.fields.inc
Implements hook_bundle_create().
tripal_chado_bundle_create in tripal_chado/includes/tripal_chado.bundle.inc
2 invocations of hook_bundle_create()
TripalBundleController::create in tripal/includes/TripalBundleController.inc
Create a type we first set up the values that are specific to our type schema but then also go through the EntityAPIController function.
tripal_create_bundle in tripal/api/tripal.entities.api.inc
Creates a new Tripal Entity type (i.e. bundle).

File

tripal/api/tripal.entities.api.inc, line 80
Provides an application programming interface (API) for working with TripalEntity content types (bundles) and their entities.

Code

function hook_bundle_create(&$bundle, $storage_args) {

}