Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] Move deprecations section on separate page
- Loading branch information
1 parent
fffc439
commit 9536142
Showing
3 changed files
with
52 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.. include:: ../Includes.txt | ||
|
||
.. index:: Deprecations | ||
|
||
.. _api-deprecations: | ||
|
||
============ | ||
Deprecations | ||
============ | ||
|
||
.. option:: Brotkrueml\Schema\Core\Model\AbstractType->isEmpty() | ||
|
||
Deprecated since version | ||
1.7.0 | ||
|
||
Will be removed in version | ||
2.0.0 | ||
|
||
Alternative | ||
None. If you need it use | ||
:php:`Brotkrueml\Schema\Core\Model\AbstractType->getPropertyNames()` | ||
and loop over the property names with | ||
:php:`Brotkrueml\Schema\Core\Model\AbstractType->getProperty()`. | ||
|
||
|
||
.. option:: Brotkrueml\Schema\Manager\SchemaManager->setMainEntityOfWebPage() | ||
|
||
Deprecated since version | ||
1.4.1 | ||
|
||
Will be removed in version | ||
2.0.0 | ||
|
||
Alternative | ||
Use :php:`Brotkrueml\Schema\Manager\SchemaManager->addMainEntityOfWebPage()` | ||
instead. See the :ref:`API <api-schema-manager-addmainentityofwebpage>`. | ||
|
||
|
||
.. option:: Brotkrueml\Schema\Provider\TypesProvider | ||
|
||
Deprecated since version | ||
1.7.0 | ||
|
||
Will be removed in version | ||
2.0.0 | ||
|
||
Alternative | ||
Use :php:`Brotkrueml\Schema\Type\TypeRegistry` which is a singleton | ||
and can be instantiated with :php:`GeneralUtility::makeInstance()` or | ||
injected with dependency injection in TYPO3 v10+. See section | ||
:ref:`api-list-of-types`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters