mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Remove deprecated FormAction::createTag()
This commit is contained in:
parent
75b7e19066
commit
1d438d3fb5
@ -1318,7 +1318,8 @@ A very small number of methods were chosen for deprecation, and will be removed
|
||||
* `LimitWordCountXML` is removed. Use `LimitWordCount` instead.
|
||||
* `BigSummary` is removed. Use `Summary` instead.
|
||||
* Most limit methods on `DBHTMLText` now plain text rather than attempt to manipulate the underlying HTML.
|
||||
* `FormField::Title` and `FormField::RightTitle` are now cast as plain text by default (but can be overridden).
|
||||
* `FormField::Title` and `FormField::RightTitle` are now cast as plain text by default (but can be overridden).
|
||||
* `FormField#createTag()` has been renamed to `FormField::create_tag()`
|
||||
* `Hierarchy` class has had much of it's functionality refactored out into `MarkedSet`:
|
||||
* `isMarked`
|
||||
* `isTreeOpened`
|
||||
|
@ -1260,22 +1260,6 @@ class FormField extends RequestHandler
|
||||
return strtolower(preg_replace('/Field$/', '', $type->getShortName()));
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 4.0 Use FormField::create_tag()
|
||||
*
|
||||
* @param string $tag
|
||||
* @param array $attributes
|
||||
* @param null|string $content
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function createTag($tag, $attributes, $content = null)
|
||||
{
|
||||
Deprecation::notice('4.0', 'Use FormField::create_tag()');
|
||||
|
||||
return self::create_tag($tag, $attributes, $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract method each {@link FormField} subclass must implement, determines whether the field
|
||||
* is valid or not based on the value.
|
||||
|
Loading…
Reference in New Issue
Block a user