v11 - Engellemenin manuel olarak mı etkinleştirileceğini yoksa devre dışı mı olacağını ayarlayın. Kullanıcı, bir engellemenin devre dışı bırakılıp bırakılmayacağını içerik menüsü seçeneğinden değiştirebilir. Kullanıcı manuel olarak etkinleştirmeye çalışsa bile (örneğin, engelleme geçersiz bir konumda olduğunda) engelleme başka nedenlerle devre dışı bırakılabilir. Bu yöntem kullanımdan kaldırıldığı için bunun yerine setDisabledCondition kullanılmalıdır.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["`BlockSvg.setEnabled()` is an obsolete method used to manually enable or disable a block, allowing users to toggle this state via a context menu."],["While users can attempt to manually enable a block using this method, other factors like invalid location can still keep it disabled."],["This method is deprecated in favor of `setDisabledReason` for more nuanced control over block disabling."],["The method accepts a boolean parameter `enabled`, where `true` enables the block and `false` disables it."],["Calling `BlockSvg.setEnabled()` does not return any value."]]],["The `BlockSvg.setEnabled()` method, now obsolete, controlled a block's manual enable/disable state. Users could toggle this via a context menu. The method accepted a boolean parameter, `enabled`, to set the state to true or false. However, a block could be disabled for other reasons, even if manually enabled. The function returned void. It is deprecated, and the `setDisabledReason` method should be used instead.\n"]]