mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 01:46:27 +02:00
Add meta_hidden to adapters
This commit is contained in:
parent
c713a4419a
commit
c0c79781bf
9 changed files with 80 additions and 1 deletions
|
@ -56,6 +56,15 @@ namespace adapters;
|
|||
{
|
||||
return 'benchmark_adapter';
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter be hidden in user interface for phone creation and
|
||||
* available to creation through API only
|
||||
*/
|
||||
public static function meta_hidden(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue