*/
protected $priority;
+ /**
+ *
+ * @var string $defaultHighlightColor
+ */
+ protected $defaultHighlightColor;
+
const RESERVED_NAME_CHAR = '_';
/**
'priority' => $this->priority,
'subset' => $this->subsetFilters,
'conflicts' => [],
+ 'defaultHighlightColor' => $this->defaultHighlightColor
];
$output['messageKeys'] = [
* @param FormOptions $opts
* @return bool
*/
- public function activelyInConflictWithFilter( ChangeslistFilter $filter, FormOptions $opts ) {
+ public function activelyInConflictWithFilter( ChangesListFilter $filter, FormOptions $opts ) {
if ( $this->isSelected( $opts ) && $filter->isSelected( $opts ) ) {
/** @var ChangesListFilter $siblingFilter */
foreach ( $this->getSiblings() as $siblingFilter ) {
return false;
}
- private function hasConflictWithFilter( ChangeslistFilter $filter ) {
+ private function hasConflictWithFilter( ChangesListFilter $filter ) {
return in_array( $filter, $this->getConflictingFilters() );
}
}
);
}
+
+ /**
+ * @param string $defaultHighlightColor
+ */
+ public function setDefaultHighlightColor( $defaultHighlightColor ) {
+ $this->defaultHighlightColor = $defaultHighlightColor;
+ }
}