35 lines
715 B
PHP
35 lines
715 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Deck\Activity;
|
|
|
|
class SettingComment extends SettingBase {
|
|
|
|
/**
|
|
* @return string Lowercase a-z and underscore only identifier
|
|
* @since 11.0.0
|
|
*/
|
|
public function getIdentifier(): string {
|
|
return 'deck_comment';
|
|
}
|
|
|
|
/**
|
|
* @return string A translated string
|
|
* @since 11.0.0
|
|
*/
|
|
public function getName(): string {
|
|
return $this->l->t('A <strong>comment</strong> was created on a card');
|
|
}
|
|
|
|
/**
|
|
* @return bool True when the option can be changed for the stream
|
|
* @since 11.0.0
|
|
*/
|
|
public function canChangeStream(): bool {
|
|
return false;
|
|
}
|
|
}
|