function backup_migrate_filter::weight

cis7 filters.inc backup_migrate_filter::weight($op = NULL)
cle7 filters.inc backup_migrate_filter::weight($op = NULL)
elmsmedia7 filters.inc backup_migrate_filter::weight($op = NULL)
icor7 filters.inc backup_migrate_filter::weight($op = NULL)
meedjum_blog7 filters.inc backup_migrate_filter::weight($op = NULL)
mooc7 filters.inc backup_migrate_filter::weight($op = NULL)

Get the weight of the filter for the given op.

File

sites/all/modules/ulmus/backup_migrate/includes/filters.inc, line 186
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;
}