NullRepositoryHandler.php in Workspace 8.2
File
src/Plugin/RepositoryHandler/NullRepositoryHandler.php
View source
<?php
namespace Drupal\workspace\Plugin\RepositoryHandler;
use Drupal\Core\Plugin\PluginBase;
use Drupal\workspace\RepositoryHandlerInterface;
class NullRepositoryHandler extends PluginBase implements RepositoryHandlerInterface {
public function push() {
}
public function pull() {
}
public function checkConflictsOnTarget() {
return [];
}
public function getDifferringRevisionIdsOnTarget() {
return [];
}
public function getDifferringRevisionIdsOnSource() {
return [];
}
public function getNumberOfChangesOnTarget() {
return 0;
}
public function getNumberOfChangesOnSource() {
return 0;
}
public function getLabel() {
return $this
->getPluginDefinition()['label'];
}
public function getDescription() {
return $this
->getPluginDefinition()['description'];
}
}