問題タブ [drupal-entities]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
drupal - Drupal 7 カスタム エンティティの作成
いくつかのフィールドを持つフォームを作成し、すべてのユーザーがデータを入力できる Drupal 7 に値を保存しようとしています。次のように、既存のデータベース テーブルを使用してカスタム エンティティを作成しようとしました。
そして、私はこのエラーを受け取り続けます:array_keys()は、パラメーター1が配列であると想定しています。
コマンドを実行すると:
そのエラーの原因となる false を返します。何か案は?