You are here

public function Flexiform::getAccessController in Flexiform 7

Get the access controller for a given display.

File

./flexiform.entity.inc, line 97
flexiform.entity.inc

Class

Flexiform
The class used for flexiform entities

Code

public function getAccessController($display = '') {
  if (empty($this->access_controllers[$display])) {
    $this->access_controllers[$display] = new FlexiformAccess($this, $display);
  }
  return $this->access_controllers[$display];
}