You are here

public function EntityType::removeBehavior in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 eck.classes.inc \EntityType::removeBehavior()

Remove behavior.

Parameters

string $name: The name of the behavior.

File

./eck.classes.inc, line 340
Classes for all the different objects used in ECK.

Class

EntityType
An entity type database object.

Code

public function removeBehavior($name) {
  $this
    ->changeBehavior($name, NULL);
}