You are here

function backup_migrate_filter::weight in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/filters.inc \backup_migrate_filter::weight()
  2. 8.3 includes/filters.inc \backup_migrate_filter::weight()
  3. 6.2 includes/filters.inc \backup_migrate_filter::weight()
  4. 7.3 includes/filters.inc \backup_migrate_filter::weight()
  5. 7.2 includes/filters.inc \backup_migrate_filter::weight()

Get the weight of the filter for the given op.

File

includes/filters.inc, line 215
All of the filter handling code needed for Backup and Migrate.

Class

backup_migrate_filter
A base class for basing filters on.

Code

function weight($op = NULL) {
  if ($op && isset($this->op_weights[$op])) {
    return $this->op_weights[$op];
  }
  return $this->weight;
}