function backup_migrate_filter::weight in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/filters.inc \backup_migrate_filter::weight()
- 6.3 includes/filters.inc \backup_migrate_filter::weight()
- 6.2 includes/filters.inc \backup_migrate_filter::weight()
- 7.3 includes/filters.inc \backup_migrate_filter::weight()
- 7.2 includes/filters.inc \backup_migrate_filter::weight()
Get the weight of the filter for the given op.
File
- 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;
}