You are here

function boxes_create in Boxes 7.2

Helper to easily create a boxes.

Parameters

$values array: Array with the following keys:

  • "arguments" - Array with arguments that should be replaced on run time in the message type.

Return value

boxes

3 calls to boxes_create()
boxes_add in includes/boxes.pages.inc
Add box page callback
BoxTests::testBoxesAPI in ./boxes.test
Test the boxes API
BoxTests::testRendering in ./boxes.test
Tests viewing boxes.

File

./boxes.module, line 645

Code

function boxes_create($values) {
  return entity_create('box', $values);
}