You are here

function PanelsLegacyState::determineStatus in Panels 7.3

Same name and namespace in other branches
  1. 6.3 includes/legacy.inc \PanelsLegacyState::determineStatus()

Run all compatibility checks.

1 call to PanelsLegacyState::determineStatus()
PanelsLegacyState::getStatus in includes/legacy.inc
Get Status.

File

includes/legacy.inc, line 40
Legacy state manager for Panels.

Class

PanelsLegacyState
Legacy state manager for Panels.

Code

function determineStatus() {
  $this->legacy = array();
  foreach (get_class_methods($this) as $method) {
    if (strtolower(substr($method, 0, 5)) == 'check') {
      $this->legacy[$method] = $this
        ->{$method}();
    }
  }
  $this->legacy = array_filter($this->legacy);
}