1 backup.class.inc | public static Backup::applies($target) |
Determine if this backup source should be used for a particular target.
This method needs to be implemented by all Backup classes. Up until PHP 7, static methods could not be made abstract. Once PHP 7 is the minimum requirement, this should be made abstract and the function body removed.
Parameters
string $target: The target from which a backup will be created (or restored to). Examples are "db:default" or "config:active".
Return value
boolean:
File
- core/
includes/ backup/ backup.class.inc, line 135 - Contains the Backup base class.
Class
- Backup
- Base class for creating backups.
Code
public static function applies($target) {
return FALSE;
}