Project

General

Profile

Actions

Bug #78337

closed

AbstractCondition in TypoScript

Added by Loon Buster about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2016-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

hello.

..maybe i understand something wrong; but it don't work in all the ways i tested.


typoscript:

[myVendorName\myPackageName\TypoScript\ExampleCondition]
...
[global]

file-path:

typo3conf/ext/ext_key/Classes/TypoScript/ExampleCondition.php

ExampleCondition.php:

<?php    namespace myVendorName\myPackageName\TypoScript;

class ExampleCondition extends \TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractCondition {

        /**
         * @param array $conditionParameters
         * @return bool
         */
        public function matchCondition(array $conditionParameters){

        return TRUE;

        }
}

have i made a mistake or is it a bug?

.loon

Actions

Also available in: Atom PDF